1df = pd.DataFrame(np.arange(12).reshape(3, 4), columns=['A', 'B', 'C', 'D'])
2>>> df
3 A B C D
40 0 1 2 3
51 4 5 6 7
62 8 9 10 11
7
8cols=['B', 'C']
9>>> df.drop(columns = cols) # or # df.drop(columns = ['B', 'C'])
10 A D
110 0 3
121 4 7
132 8 11
14