I have an array of numbers, and the maximum value may appear more than once.
Is it possible to find the index of the last occurrence of the maximum value using something like numpy.argmax?
Or, even better, is it possible to get a list of indexes of all occurrences of the maximum value in the array?
python arrays list numpy indexing
Liw
source share