pandas 0.8.1 documentation

pandas.stats.moments.rolling_sum

pandas.stats.moments.rolling_sum(arg, window, min_periods=None, freq=None, time_rule=None, **kwargs)

Moving sum

Parameters :

arg : Series, DataFrame

window : Number of observations used for calculating statistic

min_periods : int

Minimum number of observations in window required to have a value

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

Frequency to conform to before computing statistic

Returns :

y : type of input argument