I have a 1D array in numpy and I want to find the position of the index where a value exceeds the value in numpy array.

E.g.

aa = range(-10,10)

Find position in aa where, the value 5 gets exceeded.

8 Answers
8

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *