[Matrix-SIG] array.index() in NumPy?

Just van Rossum just@letterror.com
Tue, 6 Oct 1998 23:44:18 +0200


How do I do the equivalent of

>>> a = range(10)
>>> a.index(5)
5
>>>

with NumPy?

Thanks!

Just