Correlación de Python Spearman

import scipy
# x and y are numpy array with shape (N,)
coeff, _ = scipy.stats.spearmanr(x, y)
wolf-like_hunter