Your array has a dtype of object, but this should be some floating point dtype. Use e.g.
covMat = np.array(covMat, dtype=float)
to convert the dtype
Your array has a dtype of object, but this should be some floating point dtype. Use e.g.
covMat = np.array(covMat, dtype=float)
to convert the dtype