Subset df by column index
user_6939821
python
08/04/2023 6:04 PM
104 B
21
Indexable
#select columns with index positions in range 0 through 3 df.iloc[:, 0:3]
Editor is loading...
#select columns with index positions in range 0 through 3 df.iloc[:, 0:3]