stats
pearsonr(x, y): Pearson correlation coefficient and
p-value for testing non-correlation.spearmanr(a[, b, axis, nan_policy]): Spearman
correlation coefficient with associated p-value.pointbiserialr(x, y): Calculate a point biserial
correlation coefficient and its p-value.kendalltau(x, y[, initial_lexsort, …])Empirical distribution
hist = np.histogram(data, bins=100)
hist_dist = scipy.stats.rv_histogram(hist)