human
How to reset index in a pandas data frame?
assistant
Here is some code to reset index to default in dataframe `df`

df = df.reset_index(drop=True)

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