Run »
import numpy as np from scipy.stats import kstest v = np.random.normal(size=100) res = kstest(v, 'norm') print(res)
KstestResult(statistic=0.084401539828641625, pvalue=0.45521368177068711)