rapidsai / cudf

cuDF - GPU DataFrame Library
https://docs.rapids.ai/api/cudf/stable/
Apache License 2.0
8.42k stars 901 forks source link

[FEA] Implement `closed=` parameter for rolling window #15192

Open shwina opened 8 months ago

shwina commented 8 months ago

The closed= parameter to rolling windows is currently unsupported:

https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.rolling.html

shwina commented 8 months ago

Note that we support passing a pandas BaseIndexer object as the input to rolling(). Likely we could just reuse that to implement closed=.