pandas.stats.moments.expanding_count

pandas.stats.moments.expanding_count(arg, freq=None, center=False, time_rule=None)

Expanding count of number of non-NaN observations.

Parameters:

arg : DataFrame or numpy ndarray-like

freq : None or string alias / date offset object, default=None

Frequency to conform to before computing statistic

center : boolean, default False

Whether the label should correspond with center of window

time_rule : Legacy alias for freq

Returns:

expanding_count : type of caller