Wrong groupby_rolling
result when period=2d
and offset=-3d
#9250
Labels
A-temporal
Area: date/time functionality
bug
Something isn't working
python
Related to Python Polars
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
When
period=2d
andoffset=-3d
, thegroupby_rolling
gives unexpected result. Possibly due to incorrect boundary handling.Strangely, when offset is set to some other values like
offset=-4d
oroffset=-5d
, then results are correct.Reproducible example
Wrong output:
Expected behavior
Installed versions
The text was updated successfully, but these errors were encountered: