[Numpy-discussion] Docstring improvements for numpy.where?

Christopher Barker Chris.Barker@noaa....
Thu Sep 13 00:23:50 CDT 2007


Yes, the docs could be clearer (and thanks Ann, that's better), but I'm 
not sure that's the core problem....

> +    If x and y are not given, condition.nonzero() is returned. This has 
> +    the effect of returning a tuple suitable for fancy indexing.

Why is this a special case of where? This just seems weird to me. 
Shouldn't that live somewhere else?


-Chris





More information about the Numpy-discussion mailing list