···
···
My Snippets
···
Search Engine
···
Feedback & Suggestions
···
Docs
···
···
Subset df by column index
user_6939821
python
2 months ago
78 B
1
Indexable
Never
#select columns with index positions in range 0 through 3 df.iloc[:, 0:3]