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

Method argmin

dask/array/core.py:2565–2578  ·  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

2563 return max(self, axis=axis, keepdims=keepdims, split_every=split_every, out=out)
2564
2565 def argmin(self, axis=None, *, keepdims=False, split_every=None, out=None):
2566 """Return indices of the minimum values along the given axis.
2567
2568 Refer to :func:`dask.array.argmin` for full documentation.
2569
2570 See Also
2571 --------
2572 dask.array.argmin : equivalent function
2573 """
2574 from dask.array.reductions import argmin
2575
2576 return argmin(
2577 self, axis=axis, keepdims=keepdims, split_every=split_every, out=out
2578 )
2579
2580 def argmax(self, axis=None, *, keepdims=False, split_every=None, out=None):
2581 """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