I have a matrix containing 152511 rows and 2 columns (K and A). I want to get the Spearman correlation and its p-value for every 29 rows, so I'll have 5259 correlations and p-values.
How do I operate it in Python?
I have a matrix containing 152511 rows and 2 columns (K and A). I want to get the Spearman correlation and its p-value for every 29 rows, so I'll have 5259 correlations and p-values.
How do I operate it in Python?