[Numpy-discussion] sum returns grand total?

Alan G Isaac aisaac at american.edu
Mon Sep 11 12:21:29 EDT 2006


On Mon, 11 Sep 2006, Travis Oliphant apparently wrote: 
> Yes,  you need to specify which axis you want to sum over 
> if you have a multi-dimensional array.  This is the 
> "basic" behavior of most functions 

And a good behavior indeed!

Cheers,
Alan Isaac








More information about the NumPy-Discussion mailing list