My Snippets
My Collections
Search Engine
Pricing
Subset df by column index
user_6939821
python
2 years ago
78 B
5
Indexable
#select columns with index positions in range 0 through 3 df.iloc[:, 0:3]
Editor is loading...