score_cols = [col for col in stsb_test.columns if '_score' in col] # Spearman Rank Correlation spearman_rank_corr = stsb_test[score_cols].corr(method='spearman').iloc[1:, 0:1]*100 spearman_rank_corr.head(10)