[Numpy-discussion] get information/position of value from matrix
Michael Gilbert
michael.s.gilbert at gmail.com
Thu Apr 8 11:04:40 EDT 2010
On Thu, 8 Apr 2010 09:06:16 +0200, ioannis syntychakis wrote:
> thanks for all your answers.
> Now i can get al the values above the 150, but i would also like to have
> their positions in de matrix.
>
> excample:
>
> [[1. 4. 5. 6. 7. 1
> 2. 5. 7. 8. 9. 3
> 3. 5. 7. 1. 3. 7]]
>
> so, if i now look for values above the 8. the ouput should be; 1 value on
> position (4,1) (beginnning from 0)
a == 8
More information about the NumPy-Discussion
mailing list