human
Pandas remove column by index
assistant
Here is some code to remove column by index `[:, 0:2]` in dataframe `df`

df = df.ix[:, 0:2]

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