Skip to content

Interface: RollingOptions ​

Options of rolling: pandas' Series.rolling arguments.

Properties ​

PropertyModifierTypeDescription
center?readonlybooleanCenter each window on its point instead of ending it there (pandas' center).
minPeriods?readonlynumberPresent values a window needs. Default: the window size for a number of observations, 1 for a time span.
windowreadonlystring | numberWindow size: a number of observations, or a time span ('7D', '12h', '30min', '10s', '500ms') over the index values times (ms), counting back from each point (pandas' offset windows, closed on the right).
winType?readonly"boxcar" | "triang" | "gaussian"Weights across a window of observations (pandas' win_type, a scipy window): 'boxcar' (equal), 'triang', or 'gaussian' with std (in functionArgs). Weighted windows take 'mean', 'sum', 'var' and 'std'.

Released under the MIT License.