how to remove a row of duplicated values in pandas code example Example: remove duplicate row in df df = df.drop_duplicates()