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

Method argmax

dask/array/core.py:2572–2585  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

2570 )
2571
2572 def argmax(self, axis=None, *, keepdims=False, split_every=None, out=None):
2573 """Return indices of the maximum values along the given axis.
2574
2575 Refer to :func:`dask.array.argmax` for full documentation.
2576
2577 See Also
2578 --------
2579 dask.array.argmax : equivalent function
2580 """
2581 from dask.array.reductions import argmax
2582
2583 return argmax(
2584 self, axis=axis, keepdims=keepdims, split_every=split_every, out=out
2585 )
2586
2587 def sum(self, axis=None, dtype=None, keepdims=False, split_every=None, out=None):
2588 """

Callers 3

test_linspaceFunction · 0.80
test_3851Function · 0.80
test_reductions_2D_nansFunction · 0.80

Calls 1

argmaxFunction · 0.90

Tested by 3

test_linspaceFunction · 0.64
test_3851Function · 0.64
test_reductions_2D_nansFunction · 0.64