statsmodels.stats.weightstats.CompareMeans.std_meandiff_pooledvar

CompareMeans.std_meandiff_pooledvar

variance assuming equal variance in both data sets