[SciPy-user] Inconsistencies between numpy & scipy corrcoef

Steve Lianoglou lists.steve@arachnedesign....
Mon Oct 15 15:53:26 CDT 2007


Hey all,

Just curious if there's any reason why scipy.stats.corrcoeff and  
numpy.corrcoef (andy by extension the `cov` functions) act  
differently, e.g if you are passing both of them a 2d array, scipy  
will take the rows to be the observations and the cols are the vars,  
numpy is the opposite.

I feel like they should both function the same on the same inputs, no?

Thanks,
-steve



More information about the SciPy-user mailing list