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.