When doing group_by_dynamic, cannot access "_upper_boundary" in map_groups function. #20731
Open
2 tasks done
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
When doing group_by_dynamic, "agg" can have _upper_boundary if set include_boundaries=True, but "map_group" cannot access this. Though i can't access this, at least add _upper_boundary to the result like what is done in "agg". But the fact is not.
Expected behavior
Either add _upper_boundary to the result like "agg" result, or I can access group["_upper_boundary"][-1] or group._upper_boundary and use them in the function result
Installed versions
The text was updated successfully, but these errors were encountered: