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