reset_index python to move value up to header level code example Example: reset_index pandas df.reset_index(drop=True, inplace=True)