Skip to content

Glossary: pandas Basics

reset_index

Also written: .reset_index()

Renumbers the rows 0, 1, 2…, or turns index levels back into ordinary columns after a groupby. `drop=True` throws the old labels away.

Where the book teaches it

Related terms

Indexset_indexMultiIndex