drop_duplicates
Also written: .drop_duplicates()
Removes repeated rows, keeping the first copy by default. `subset=` compares only some columns and `keep="last"` keeps the last copy.
Also written: .drop_duplicates()
Removes repeated rows, keeping the first copy by default. `subset=` compares only some columns and `keep="last"` keeps the last copy.