get index of second highest value in array python code example Example: get index of highest value in array python result = numpy.where(arr == numpy.amax(arr))