Python Pandas Transpose la tabla DataFrame sin índice
df = df.set_index("Col1").T
# "Col1" is the column you want to set as index.
Kwams
df = df.set_index("Col1").T
# "Col1" is the column you want to set as index.
df.T
df.head().T