MCPcopy Create free account
hub / github.com/dask/dask / _nanargmax

Function _nanargmax

dask/array/reductions.py:928–932  ·  view source on GitHub ↗
(x, axis, **kwargs)

Source from the content-addressed store, hash-verified

926
927
928def _nanargmax(x, axis, **kwargs):
929 try:
930 return chunk.nanargmax(x, axis, **kwargs)
931 except ValueError:
932 return chunk.nanargmax(np.where(np.isnan(x), -np.inf, x), axis, **kwargs)
933
934
935@derived_from(np)

Callers

nothing calls this directly

Calls 1

whereMethod · 0.45

Tested by

no test coverage detected