reset_index panda
df.reset_index(drop=True, inplace=True)
DS in Training
df.reset_index(drop=True, inplace=True)
How to convert index of a pandas dataframe into a column
df = df.reset_index(level=0)
df['index1'] = df.index
gapminder_ocean.reset_index(drop=True, inplace=True)