pandas 0.7.3 documentation

pandas.stats.moments.rolling_count

pandas.stats.moments.rolling_count(arg, window, 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

Returns :

rolling_count : type of caller