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

Method time_partition

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

Source from the content-addressed store, hash-verified

313 self.ARRAY_SIZE, dtype, *array_type[1:], rnd)
314
315 def time_partition(self, dtype, array_type, k):
316 temp = np.partition(self.arr, k)
317
318 def time_argpartition(self, dtype, array_type, k):
319 temp = np.argpartition(self.arr, k)

Callers

nothing calls this directly

Calls 1

partitionMethod · 0.45

Tested by

no test coverage detected