Series.
expanding
Provide expanding transformations.
Note
‘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 in the near future.
Minimum number of observations in window required to have a value (otherwise result is NA).