Inconsistent .unique() result for pl.Enum type depending on input data format #19338
Closed
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
df and df2 are same input with different initialization type, which I believe are valid, when you initialized as df2, the .unique method is not correct. this only happens with pl.Enum type but not pl.String
Expected behavior
unique for df and df2 should both be 'A'
Installed versions
The text was updated successfully, but these errors were encountered: