dropping columns pandas dataframe code example Example: drop column dataframe df.drop(columns=['Unnamed: 0'])