Transpose Dataframe Columns to Rows

Python

 1|  df = df.T
Did you find this snippet useful?

Sign up for free to to add this to your code library