delete first column of a dataframe in pandas code example
Example 1: drop column dataframe
df.drop(columns=['Unnamed: 0'])
Example 2: how to delete a column from a dataframe in python
del df['column']
df.drop(columns=['Unnamed: 0'])
del df['column']