Window¶
Rolling objects are returned by .rolling
calls: pandas.DataFrame.rolling()
, pandas.Series.rolling()
, etc.
Expanding objects are returned by .expanding
calls: pandas.DataFrame.expanding()
, pandas.Series.expanding()
, etc.
ExponentialMovingWindow objects are returned by .ewm
calls: pandas.DataFrame.ewm()
, pandas.Series.ewm()
, etc.
Rolling window functions¶
The rolling count of any non-NaN observations inside the window. |
|
|
Calculate rolling sum of given DataFrame or Series. |
|
Calculate the rolling mean of the values. |
|
Calculate the rolling median. |
|
Calculate unbiased rolling variance. |
|
Calculate rolling standard deviation. |
|
Calculate the rolling minimum. |
|
Calculate the rolling maximum. |
|
Calculate rolling correlation. |
|
Calculate the rolling sample covariance. |
|
Unbiased rolling skewness. |
|
Calculate unbiased rolling kurtosis. |
|
Apply an arbitrary function to each rolling window. |
|
Aggregate using one or more operations over the specified axis. |
|
Calculate the rolling quantile. |
|
Compute rolling standard error of mean. |
Weighted window functions¶
|
Calculate the window mean of the values. |
|
Calculate window sum of given DataFrame or Series. |
|
Calculate unbiased window variance. |
|
Calculate window standard deviation. |
Expanding window functions¶
The expanding count of any non-NaN observations inside the window. |
|
|
Calculate expanding sum of given DataFrame or Series. |
|
Calculate the expanding mean of the values. |
|
Calculate the expanding median. |
|
Calculate unbiased expanding variance. |
|
Calculate expanding standard deviation. |
|
Calculate the expanding minimum. |
|
Calculate the expanding maximum. |
|
Calculate expanding correlation. |
|
Calculate the expanding sample covariance. |
|
Unbiased expanding skewness. |
|
Calculate unbiased expanding kurtosis. |
|
Apply an arbitrary function to each expanding window. |
|
Aggregate using one or more operations over the specified axis. |
|
Calculate the expanding quantile. |
|
Compute expanding standard error of mean. |
Exponentially-weighted window functions¶
|
Exponential weighted moving average. |
|
Exponential weighted moving stddev. |
|
Exponential weighted moving variance. |
|
Exponential weighted sample correlation. |
|
Exponential weighted sample covariance. |
Window indexer¶
Base class for defining custom window boundaries.
|
Base class for window bounds calculations. |
Creates window boundaries for fixed-length windows that include the current row. |
|
Calculate window boundaries based on a non-fixed offset such as a BusinessDay |