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

Method argmin

dask/array/core.py:2554–2567  ·  view source on GitHub ↗

Return indices of the minimum values along the given axis. Refer to :func:`dask.array.argmin` for full documentation. See Also -------- dask.array.argmin : equivalent function

(self, axis=None, *, keepdims=False, split_every=None, out=None)

Source from the content-addressed store, hash-verified

2552 return max(self, axis=axis, keepdims=keepdims, split_every=split_every, out=out)
2553
2554 def argmin(self, axis=None, *, keepdims=False, split_every=None, out=None):
2555 """Return indices of the minimum values along the given axis.
2556
2557 Refer to :func:`dask.array.argmin` for full documentation.
2558
2559 See Also
2560 --------
2561 dask.array.argmin : equivalent function
2562 """
2563 from dask.array.reductions import argmin
2564
2565 return argmin(
2566 self, axis=axis, keepdims=keepdims, split_every=split_every, out=out
2567 )
2568
2569 def argmax(self, axis=None, *, keepdims=False, split_every=None, out=None):
2570 """Return indices of the maximum values along the given axis.

Callers 7

arg_reductionFunction · 0.80
_balance_chunksizesFunction · 0.80
test_linspaceFunction · 0.80
test_dtype_complexFunction · 0.80
test_reductions_2D_nansFunction · 0.80

Calls 1

argminFunction · 0.90

Tested by 5

test_linspaceFunction · 0.64
test_dtype_complexFunction · 0.64
test_reductions_2D_nansFunction · 0.64