python get max index matrix code example Example: numpy find where max element ist result = numpy.where(arr == numpy.amax(arr))