<human>:  How to swap a group of column headings with their values in Pandas
<bot>:, df.index, np.unique(df.values))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.