pandas reset index numbers code example Example: pandas reset index from 0 # df is your pandas.DataFrame df.reset_index(inplace = True)