nanargmax#

astropy.utils.masked.function_helpers.nanargmax(a, *args, **kwargs)#

Like numpy.nanargmax, skipping masked values as well.

No exceptions are raised for fully masked/NaN slices. Instead, these give index 0.