python spearman correlation
import scipy
# x and y are numpy array with shape (N,)
coeff, _ = scipy.stats.spearmanr(x, y)
Are there any code examples left?
New code examples in category Python
import scipy
# x and y are numpy array with shape (N,)
coeff, _ = scipy.stats.spearmanr(x, y)