expanding(min_periods: int = 1) → Expanding[FrameLike]¶
Provide expanding transformations.
‘min_periods’ in pandas-on-Spark works as a fixed window size unlike pandas. Unlike pandas, NA is also counted as the period. This might be changed soon.
- min_periods: int, default 1
Minimum number of observations in window required to have a value (otherwise result is NA).
- a Window sub-classed for the operation