MCPcopy Index your code
hub / github.com/numpy/numpy / time_argpartition

Method time_argpartition

benchmarks/benchmarks/bench_function_base.py:318–319  ·  view source on GitHub ↗
(self, dtype, array_type, k)

Source from the content-addressed store, hash-verified

316 temp = np.partition(self.arr, k)
317
318 def time_argpartition(self, dtype, array_type, k):
319 temp = np.argpartition(self.arr, k)
320
321class SortWorst(Benchmark):
322 def setup(self):

Callers

nothing calls this directly

Calls 1

argpartitionMethod · 0.80

Tested by

no test coverage detected