Панды сброшенные индексы строк
# Basic syntax:
df.reset_index(inplace=True)
# Note, if you don't want to previous indices to be added as a new column
# add drop=True
Charles-Alexandre Roy