remove repeat rows pandas python df code example Example: remove duplicate row in df df = df.drop_duplicates()