reset indexed time series dataframe code example Example: reset index pandas df.reset_index(drop=True)