MCPcopy Index your code
hub / github.com/dask/dask / argtopk

Method argtopk

dask/array/core.py:2283–2294  ·  view source on GitHub ↗

The indices of the top k elements of an array. Refer to :func:`dask.array.argtopk` for full documentation. See Also -------- dask.array.argtopk : equivalent function

(self, k, axis=-1, split_every=None)

Source from the content-addressed store, hash-verified

2281 return topk(self, k, axis=axis, split_every=split_every)
2282
2283 def argtopk(self, k, axis=-1, split_every=None):
2284 """The indices of the top k elements of an array.
2285
2286 Refer to :func:`dask.array.argtopk` for full documentation.
2287
2288 See Also
2289 --------
2290 dask.array.argtopk : equivalent function
2291 """
2292 from dask.array.reductions import argtopk
2293
2294 return argtopk(self, k, axis=axis, split_every=split_every)
2295
2296 def astype(self, dtype, **kwargs):
2297 """Copy of the array, cast to a specified type.

Callers 1

test_topk_argtopk3Function · 0.80

Calls 1

argtopkFunction · 0.90

Tested by 1

test_topk_argtopk3Function · 0.64