drop_duplicates() is dropping more than just duplicates in 0.17.0 #11512
Labels
Duplicate Report
Duplicate issue or pull request
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
When I upgraded from 0.16.2 to 0.17.0, I was met with a nasty surprise when dropping duplicates. It looks like DataFrame.drop_duplicates() is not working as I would expect it to based on the previous version. I have a dataframe
the output is:
when I run the same in 0.16.2 the output is:
I don't think you should be able to get fewer rows than the number of unique entries in a single column.
The text was updated successfully, but these errors were encountered: