Numpy - find index by value

 avataruser_6939821
python
2 months ago
71 B
2
Indexable
Never
# Get the index of elements with value 15
result = np.where(arr == 15)