[Numpy-discussion] What should be the result in some statistics corner cases?

Stéfan van der Walt stefan at sun.ac.za
Mon Jul 15 20:55:04 EDT 2013


On Mon, 15 Jul 2013 18:46:33 -0600, Charles R Harris wrote:
 
> So nansum should return zeros rather than the current NaNs?

Yes, my feeling is that nansum([]) should be 0.

Stéfan



More information about the NumPy-Discussion mailing list