statsmodels.stats.weightstats.DescrStatsW.nobs

DescrStatsW.nobs

alias for number of observations/cases, equal to sum of weights