how to get remove of index in series pandas code example Example: pandas df remove index df = df.reset_index(drop=True)