<human>:  Indexing a pandas dataframe by integer
<bot>: Here is some code to reset the indexes of a pandas data frame

df2 = df.reset_index()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.