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

Method setup

python/benchmarks/convert_pandas.py:47–49  ·  view source on GitHub ↗
(self, n, dtype)

Source from the content-addressed store, hash-verified

45 params = ((10, 10 ** 6), ('int64', 'float64', 'float64_nans', 'str'))
46
47 def setup(self, n, dtype):
48 super(PandasConversionsFromArrow, self).setup(n, dtype)
49 self.arrow_data = pa.Table.from_pandas(self.data)
50
51 def time_to_series(self, n, dtype):
52 self.arrow_data.to_pandas()

Callers

nothing calls this directly

Calls 1

setupMethod · 0.45

Tested by

no test coverage detected