Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas dataframe total row

df.loc['Total'] = df.sum()
 
PREVIOUS NEXT
Tagged: #pandas #dataframe #total #row
ADD COMMENT
Topic
Name
5+2 =