MCPcopy Create free account
hub / github.com/apache/arrow / setUp

Method setUp

python/benchmarks/array_ops.py:24–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 n = 10 ** 5
23
24 def setUp(self):
25 self._array = pa.array(list(range(self.n)), type=pa.int64())
26 self._array_items = list(self._array)
27
28 def time_getitem(self):
29 for i in range(self.n):

Callers

nothing calls this directly

Calls 2

listFunction · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected