Back to Cheatsheets

scipy

Table of Contents

INTERQUARTILE RANGE (IQR)

from scipy.stats import iqr

interquartile_range = iqr(dataset)

MODE

from scipy import stats

stats.mode(array_nums)

PROBABILITY PLOT

scipy.stats.probplot(measurements, dist="norm", plot=plot_module_name)