DataFrame.rolling()
pandas.DataFrame.rolling
-
DataFrame.rolling(window, min_periods=None, freq=None, center=False, win_type=None, axis=0)
-
Provides rolling transformations.
New in version 0.18.0.
Parameters: window : int
Size of the moving window. This is the number of observations used for calculating the statistic.
min_periods : int, default None
Minimum number of observations in window required to have a value (otherwise result is NA).
freq : string or DateOffset object, optional (default None) (DEPRECATED)
F