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

Method setup

asv_bench/benchmarks/inference.py:140–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138
139class ToDatetimeYYYYMMDD:
140 def setup(self):
141 rng = date_range(start="1/1/2000", periods=10000, freq="D")
142 self.stringsD = Series(rng.strftime("%Y%m%d"))
143
144 def time_format_YYYYMMDD(self):
145 to_datetime(self.stringsD, format="%Y%m%d")

Callers

nothing calls this directly

Calls 3

date_rangeFunction · 0.90
SeriesClass · 0.90
strftimeMethod · 0.45

Tested by

no test coverage detected