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

Method argmax

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

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.
2582
2583 Refer to :func:`dask.array.argmax` for full documentation.
2584
2585 See Also
2586 --------
2587 dask.array.argmax : equivalent function
2588 """
2589 from dask.array.reductions import argmax
2590
2591 return argmax(
2592 self, axis=axis, keepdims=keepdims, split_every=split_every, out=out
2593 )
2594
2595 def sum(self, axis=None, dtype=None, keepdims=False, split_every=None, out=None):
2596 """

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