df.reset_index( drop=True, # to avoid the old index being added as a column inplace=False) # (default) return df with the new index, i.e. do not create a new object