[SciPy-user] Inconsistencies between numpy & scipy corrcoef

Steve Lianoglou lists.steve at arachnedesign.net
Mon Oct 15 16:53:26 EDT 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