drop duplicates pandas does not work code example Example: remove duplicate row in df df = df.drop_duplicates()