MCPcopy
hub / github.com/pandas-dev/pandas / setup

Method setup

asv_bench/benchmarks/frame_ctor.py:66–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64
65class FromSeries:
66 def setup(self):
67 mi = MultiIndex.from_product([range(100), range(100)])
68 self.s = Series(np.random.randn(10000), index=mi)
69
70 def time_mi_series(self):
71 DataFrame(self.s)

Callers

nothing calls this directly

Calls 2

SeriesClass · 0.90
from_productMethod · 0.80

Tested by

no test coverage detected