Tuesday, 6 August 2013

Index of element in Numpy array

Index of element in Numpy array

In python we can get the index of a value in array by using .index() How
can I do it with a numpy array?
When I try to do:
decoding.index(i)
Says that the numpy library doesn't support this function. Is there any
way to do it? Thanks.

No comments:

Post a Comment