group_by_dynamic offset ignored #16162
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
It appears that the
offset
is ignored in thegroup_by_dynamic
method ofDataFrame
.Expected behavior
In the above example, I would have expected to see the following:
Given that the documentation states that
offset
is set to negative every, I would expect anoffset
of "0m" to cover the period [2023-01-01 00:05:00, 2023-01-01 00:15:00), and an offset of "5m" (example above) to cover the period [2023-01-01 00:10:00, 2023-01-01 00:20:00).I would expect this to be reflected in the boundaries, as well as the aggregate values.
Installed versions
The text was updated successfully, but these errors were encountered: