max2D

tayph.max2D(arr)[source] [edit on github]

This returns the indices of the maximum of a 2D array, similar to np.argmax for 1D arrays.