drop value from a dataframe inde code example Example: df.drop index df.reset_index(drop=True, inplace=True)