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

Charles R Harris charlesr.harris at gmail.com
Mon Jul 15 10:33:47 EDT 2013


On Mon, Jul 15, 2013 at 8:25 AM, Benjamin Root <ben.root at ou.edu> wrote:

> This is going to need to be heavily documented with doctests. Also, just
> to clarify, are we talking about a ValueError for doing a nansum on an
> empty array as well, or will that now return a zero?
>
>
I was going to leave nansum as is, as it seems that the result was by
choice rather than by accident.

Tests, not doctests. I detest doctests ;) Examples, OTOH...

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130715/a5b36f65/attachment.html>


More information about the NumPy-Discussion mailing list