Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sum of column in 2d array python

col_totals = [sum(x) for x in zip(*my_list)]
 
PREVIOUS NEXT
Tagged: #sum #column #array #python
ADD COMMENT
Topic
Name
4+5 =