import pandas as pd import numpy as np cols = [0, 1] cols.extend(np.arange(10, df.shape[1])) df.iloc[:,cols]