Window¶
Rolling objects are returned by .rolling
calls: pyspark.pandas.DataFrame.rolling()
, pyspark.pandas.Series.rolling()
, etc.
Expanding objects are returned by .expanding
calls: pyspark.pandas.DataFrame.expanding()
, pyspark.pandas.Series.expanding()
, etc.
ExponentialMoving objects are returned by .ewm
calls: pyspark.pandas.DataFrame.ewm()
, pyspark.pandas.Series.ewm()
, etc.
Standard moving window functions¶
The rolling count of any non-NaN observations inside the window. |
|
Calculate rolling summation of given DataFrame or Series. |
|
Calculate the rolling minimum. |
|
Calculate the rolling maximum. |
|
Calculate the rolling mean of the values. |
|
|
Calculate the rolling quantile of the values. |
Standard expanding window functions¶
The expanding count of any non-NaN observations inside the window. |
|
Calculate expanding summation of given DataFrame or Series. |
|
Calculate the expanding minimum. |
|
Calculate the expanding maximum. |
|
Calculate the expanding mean of the values. |
|
|
Calculate the expanding quantile of the values. |
Exponential moving window functions¶
Calculate an online exponentially weighted mean. |