From: Alan G I. <ai...@am...> - 2006-06-21 09:13:59
|
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 list. 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: M[:,V>0] but this is not allowed. Cheers, Alan Isaac |