[Numpy-discussion] Selecting columns of a matrix
Alan G Isaac
aisaac at american.edu
Wed Jun 21 05:21:38 EDT 2006
On Wed, 21 Jun 2006, Bill Baxter apparently wrote:
> ew to numpy.nonzero
I agree that having the method and function behave so
differently is awkward; this was discussed before on this
It does allow Simon's nicer solution, however.
I'm not sure why bool arrays cannot be used as indices.
The "natural" solution to the original problem seemed to be:
but this is not allowed.
More information about the NumPy-Discussion