Python Pandas Transpose la table Dataframe sans index
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