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

Method setup

asv_bench/benchmarks/period.py:48–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46
47class DataFramePeriodColumn:
48 def setup(self):
49 self.rng = period_range(start="1/1/1990", freq="s", periods=20000)
50 self.df = DataFrame(index=range(len(self.rng)))
51
52 def time_setitem_period_column(self):
53 self.df["col"] = self.rng

Callers

nothing calls this directly

Calls 2

period_rangeFunction · 0.90
DataFrameClass · 0.90

Tested by

no test coverage detected