human
Delete column from pandas DataFrame
assistant
Here is some code to delete 1st, 2nd and 4th columns from dataframe `df`

df.drop(df.columns[[0, 1, 3]], axis=1)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.