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.
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.