I know there is a method for a Python list to return the first index of something:
>>> xs = [1, 2, 3] >>> xs.index(2) 1
Is there something like that for NumPy arrays?
← Назад к списку