Polars .get expression doesn't works when using within agg in group_by_dynamic #16116
Closed
2 tasks done
Labels
accepted
Ready for implementation
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
Looks like
.get
expression works wrong ifevery!=period
ingroup_by_dynamic
.shift(x)
,get(0)
andget(-1)
work correctly, so I can fix the issue with.shift(-1).get(0)
but.get(x)
in general does not work for some reason.p.s. I originally posted the problem in the stackoverflow
Expected behavior
get_1_bad
andget_1_good
columns from my example must be the same.Installed versions
The text was updated successfully, but these errors were encountered: