I got a project when I have to compute the pooled covariance matrix in python using only numpy, pandas. I have tried many differents way but I\'m still failing.