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