Polars returns the incorrect number elements in a list after calling .unique()
#14834
Closed
2 tasks done
Labels
bug
Something isn't working
invalid
A bug report that is not actually a bug
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
If you run
df.with_columns(pl.col('col').list.unique().alias('col uniq'))
You can see polars is doing the right thing:
You can't even chain them separate calls together:
Output:
Expected behavior
Installed versions
The text was updated successfully, but these errors were encountered: