Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sum of a column in pandas

Total = df['MyColumn'].sum()
print (Total)
319
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sum #column #pandas
ADD COMMENT
Topic
Name
6+5 =