2014-02-21 19 views

Antwort

16

Sie benötigen numpy.corrcoef:

In [8]: 

np.corrcoef(a1,a2) 
Out[8]: 
array([[ 1.  , 0.98198051], 
     [ 0.98198051, 1.  ]]) 
+0

+1 Concise und effizient. :) – zx81

Verwandte Themen