Dec-03-2017, 03:25 PM
X0 = [1,2,3]
X1 = [4,5,6]
k = len(np.cov(X0))
Throws this error:
k = len(np.cov(X0))
TypeError: len() of unsized object
---
I tried using an numpy array, but got the same error.
How to get around this problem?
Thanks in advance,
- O