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

Method setup

asv_bench/benchmarks/inference.py:152–154  ·  view source on GitHub ↗
(self, cache, count)

Source from the content-addressed store, hash-verified

150 param_names = ["cache", "count"]
151
152 def setup(self, cache, count):
153 rng = date_range(start="1/1/1971", periods=count)
154 self.unique_date_strings = rng.strftime("%Y-%m-%d").tolist()
155
156 def time_unique_date_strings(self, cache, count):
157 to_datetime(self.unique_date_strings, cache=cache)

Callers

nothing calls this directly

Calls 3

date_rangeFunction · 0.90
tolistMethod · 0.45
strftimeMethod · 0.45

Tested by

no test coverage detected