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)
| 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. |