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

Method setup

python/benchmarks/convert_builtins.py:81–84  ·  view source on GitHub ↗
(self, type_name)

Source from the content-addressed store, hash-verified

79 params = [types]
80
81 def setup(self, type_name):
82 gen = common.BuiltinsGenerator()
83 self.ty, self.data = gen.get_type_and_builtins(self.size, type_name)
84 self.arr = pa.array(self.data, type=self.ty)
85
86 def time_convert(self, *args):
87 self.arr.to_pylist()

Callers

nothing calls this directly

Calls 2

get_type_and_builtinsMethod · 0.95
arrayMethod · 0.45

Tested by

no test coverage detected