-3

I want to check if there is a duplicate record for all the columns in a DataFrame and to drop that record.

I am trying something like this but I am not sure if this is the right approach.

#remove duplicates repair = repair.drop_duplicates(subset=None,keep="first")

Sayonti
  • 946
  • 2
  • 8
  • 14

1 Answers1

0

repair = repair.drop_duplicates(subset=None,keep="first")

This helps to remove all duplicate records

Sayonti
  • 946
  • 2
  • 8
  • 14