How to swap a group of column headings with their values in Pandas,"pd.DataFrame([{val: key for key, val in list(d.items())} for d in df.to_dict('r')])"