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

Method argtopk

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

2287 return topk(self, k, axis=axis, split_every=split_every)
2288
2289 def argtopk(self, k, axis=-1, split_every=None):
2290 """The indices of the top k elements of an array.
2291
2292 Refer to :func:`dask.array.argtopk` for full documentation.
2293
2294 See Also
2295 --------
2296 dask.array.argtopk : equivalent function
2297 """
2298 from dask.array.reductions import argtopk
2299
2300 return argtopk(self, k, axis=axis, split_every=split_every)
2301
2302 def astype(self, dtype, **kwargs):
2303 """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