how to romove duplicates datset pandas code example Example: remove duplicate row in df df = df.drop_duplicates()