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