I'm trying to get the indices of the minimum values in array, such as:
ind = np.where((arr == arr.min()))
I'd like to modify this so that I can ignore a specific value. e.g:
ind = np.where((arr == arr[arr != value].min()))
The above solution is ok, but can it be done better?