[Numpy-discussion] Are there command similar as Matlab find command?
Mon Sep 29 16:45:51 CDT 2008
On Mon, Sep 29, 2008 at 5:32 PM, frank wang <email@example.com> wrote:
> I am trying to find a command in numpy or python that perform similar
> function as Matlab find command. It will return the indexes of array that
> satisfy a condition. So far I have not found anything.
If you're familiar with MATLAB, look here:
In the table you'll find the following equivalence:
find(a>0.5) <-> where(a>0.5)
Nathan Bell firstname.lastname@example.org
More information about the Numpy-discussion