Suppose I have two vectors of length 25, and I want to compute their covariance matrix. I try doing this with numpy.cov, but always end up with a 2x2 matrix.
You should change
np.cov(x,y, rowvar=0)
onto
np.cov((x,y), rowvar=0)