numpy.nanargmax
- numpy.nanargmax(a, axis=None, out=None, *, keepdims=<no value>)
Return the indices of the maximum values in the specified axis ignoring NaNs. For all-NaN slices
ValueErroris raised. Warning: the results cannot be trusted if a slice contains only NaNs and -Infs.- Parameters:
- a : array_like