Numpy - find index by value

 avatar
user_6939821
python
2 years ago
71 B
4
Indexable
# Get the index of elements with value 15
result = np.where(arr == 15)
Editor is loading...