Files
developer-roadmap/roadmaps/python-data-analysis/content/indexing--slicing@PlFcaQsvFSK0Y-LKGu0eH.md
T
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

766 B

Indexing & Slicing

Pandas provides two primary indexing systems: .loc[] for label-based selection and .iloc[] for position-based selection. Both work on rows, columns, or both simultaneously. Boolean indexing with a condition (e.g., df[df['age'] > 30]) is the most common way to filter rows.

Visit the following resources to learn more: