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

Method setup

python/benchmarks/convert_pandas.py:77–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75class SerializeDeserializePandas(object):
76
77 def setup(self):
78 # 10 million length
79 n = 10000000
80 self.df = pd.DataFrame({'data': np.random.randn(n)})
81 self.serialized = pa.serialize_pandas(self.df)
82
83 def time_serialize_pandas(self):
84 pa.serialize_pandas(self.df)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected