I am trying to drop multiple columns (column 2 and 70 in my data set, indexed as 1 and 69 respectively) by index number in a pandas data frame with the following code:
Try this
df.drop(df.iloc[:, 1:69], inplace=True, axis=1)
This works for me