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

Christopher Barker Chris.Barker at noaa.gov
Thu Sep 13 01:23:50 EDT 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