Beralih kolom dan baris Python

# User .transpose()

# Scenario 1
df = pd.DataFrame(data).transpose()
# Scenario 2
df = pd.DataFrame(evaluation[fold])
df.transpose()
Last Air Bender