[SciPy-user] Looking for function that returns indicies acc'd tocondition

Gary Pajer pajer at iname.com
Wed Dec 17 16:45:29 CST 2003


> Hey,
> Maybe you could also find a similar solution for >1-dimensional arrays by
> taking advantage of python lists. This one for 2-d arrays

Thanks.  nonzero() works fine for my application.  Thanks to M.S. for
finding it in the manual for me.

-g



More information about the SciPy-user mailing list