DataFrame.unique()
should raise if any subset column doesn't exist on empty frame.
#20209
Open
2 tasks done
Labels
bug
Something isn't working
good first issue
Good for newcomers
P-low
Priority: low
python
Related to Python Polars
Checks
Reproducible example
Log output
No response
Issue description
Using
.unique()
on an empty dataframe with a subset column which doesn't exist in the dataframe doesn't raise an error.This is inconsistent with other methods, i.e.
.select()
Expected behavior
.unique()
should raise an error if any subset column is not in the dataframe.Installed versions
The text was updated successfully, but these errors were encountered: