nanargmin

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

Like numpy.nanargmin, skipping masked values as well.

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