statsmodels.stats.weightstats.DescrStatsW.cov

DescrStatsW.cov

weighted covariance of data if data is 2 dimensional

assumes variables in columns and observations in rows uses default ddof