SyntaxFix
Write A Post
Hire A Developer
Questions
Use the axis argument:
axis
>> numpy.sum(a, axis=0) array([18, 22, 26])