You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the column "val" is of type pl.Utf8, it will set the aggregated value to None if any value in the group is `None. You get the additional column "min_val_per_color: [None, 3]".
Expected behavior
I would expect the dataframe to get the additional column "min_val_per_color: [2, 3]". This is also what happens when the datatype of "val" is numeric.
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Reproducible example
Log output
No response
Issue description
When the column
"val"
is of typepl.Utf8
, it will set the aggregated value toNone
if any value in the group is `None. You get the additional column "min_val_per_color: [None, 3]".Expected behavior
I would expect the dataframe to get the additional column "min_val_per_color: [2, 3]". This is also what happens when the datatype of "val" is numeric.
Installed versions
The text was updated successfully, but these errors were encountered: