how reset index in dataframe in python starting with 1 code example Example: reset index pandas df.reset_index(drop=True)