Sorry, this is my second post - please let me know if something doesn't make sense!
I'm trying to remove all rows that have any duplicates. I've tried the keep = False
parameter for drop_duplicates()
, and its just not doing the right thing.
lets say my dataframe looks something like this
|ORDER ID | ITEM CODE |
123 XXX
123 YYY
123 YYY
456 XXX
456 XXX
456 XXX
789 XXX
000 YYY
I want it to look like this:
|ORDER ID | ITEM CODE |
123 XXX
789 XXX
000 YYY