how to ddrop duplicates from df based on one column code example Example: remove duplicate row in df df = df.drop_duplicates()