Regression: Incorrect categorical encoding after sort #19868
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
The following code gives correct output in
1.12
but incorrect in1.13
.Log output
No response
Issue description
Incorrect output:
In other words, the categorical encoding has changed.
Now if I try to join this dataframe back to the original data, I will get performance warnings that the encodings don't match, and they will have to be re-encoded before they can be joined together.
Users of my code will think I'm incompetent, because they're getting all these warnings.
Expected behavior
Correct output:
Installed versions
The text was updated successfully, but these errors were encountered: