pl.Expr.get(pl.Expr.arg_min()) does not respect rolling window #15078
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Using rolling and
get(arg_min)
group_by_dynamic doesn't have this issue.
Log output
No response
Issue description
When using a rolling window, I would expect
To return the smallest
num
in each window when aggregated. I set up a toy example where thenum
column is ordered so the smallest number will always be the first in the window. However even though I verifiedarg_min
returns all 0s, I'm not getting the correct value fromget
. Passing in an explicit0
toget
gives me what I expect.group_by_dynamic
windows work correctly and return the first/smallest num.Expected behavior
pl.Expr.get
should get the indexed value from the current rolling window only.Installed versions
The text was updated successfully, but these errors were encountered: