python spearman correlation

Solutions on MaxInterview for python spearman correlation by the best coders in the world

showing results for - "python spearman correlation"
Vijay
18 May 2017
1import scipy
2# x and y are numpy array with shape (N,)
3coeff, _ = scipy.stats.spearmanr(x, y)