Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

switch columns and rows python

# User .transpose()

# Scenario 1
df = pd.DataFrame(data).transpose()
# Scenario 2
df = pd.DataFrame(evaluation[fold])
df.transpose()
 
PREVIOUS NEXT
Tagged: #switch #columns #rows #python
ADD COMMENT
Topic
Name
1+9 =