Subset df by column index

 avataruser_6939821
python
2 months ago
78 B
1
Indexable
Never
#select columns with index positions in range 0 through 3
df.iloc[:, 0:3]