stats
DescrStatsW.
std_ddof
standard deviation of data with given ddof
sum_weights - ddof
statsmodels.stats.weightstats.DescrStatsW.std
statsmodels.stats.weightstats.DescrStatsW.std_mean