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

Method setup

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

Source from the content-addressed store, hash-verified

38 params = [types]
39
40 def setup(self, type_name):
41 gen = common.BuiltinsGenerator()
42 self.ty, self.data = gen.get_type_and_builtins(self.size, type_name)
43
44 def time_convert(self, *args):
45 pa.array(self.data, type=self.ty)

Callers

nothing calls this directly

Calls 1

get_type_and_builtinsMethod · 0.95

Tested by

no test coverage detected