EvolutionCourse Hub
← Dictionary
Index

Also: row labels

Python tools

The row labels of a DataFrame or Series. Operations line rows up by index, not by position.

ExampleAfter filtering, the index keeps the original row numbers, which is why loc and iloc can give different rows.

Taught inS0Relatedloc and ilocS0