how to delete duplicate column from dataframe in pandas code example Example: remove duplicate columns python dataframe df = df.loc[:,~df.columns.duplicated()]