pearson = stat.pearsonr(x,y) spearman = stat.spearmanr(x,y)