pandas.stats.moments.rolling_count¶
- pandas.stats.moments.rolling_count(arg, window, freq=None, center=False, time_rule=None)¶
Rolling count of number of non-NaN observations inside provided window.
Parameters: arg : DataFrame or numpy ndarray-like
window : Number of observations used for calculating statistic
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: rolling_count : type of caller