Mercurial > hg > cc > cirrus_work
changeset 35:f76656fa98f7
fix N
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 24 Nov 2022 12:37:17 +0000 |
parents | 2e8002a64f72 |
children | 6b3a9ac5ad7b |
files | bin/spearman.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/spearman.py Wed Nov 23 11:05:45 2022 +0000 +++ b/bin/spearman.py Thu Nov 24 12:37:17 2022 +0000 @@ -141,7 +141,7 @@ fd_ranked[i]] for i in range(N)]) counts=loadtxt(sys.argv[1]+".csv",delimiter=',') -N=counts.shape[0] +N=counts.shape[1]-1 # "If axis=0 (default), then each column represents a variable, with # observations in the rows" # So each column is a sequence of counts, for whole crawl in column 0