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

Method setup

asv_bench/benchmarks/io/csv.py:272–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

270 iso8601 = "%Y-%m-%d %H:%M:%S"
271
272 def setup(self):
273 rng = date_range("1/1/2000", periods=50000, freq="s")
274 self.StringIO_input = StringIO("\n".join(rng.strftime(self.iso8601).tolist()))
275
276 def time_read_csv(self):
277 read_csv(

Callers

nothing calls this directly

Calls 4

date_rangeFunction · 0.90
joinMethod · 0.45
tolistMethod · 0.45
strftimeMethod · 0.45

Tested by

no test coverage detected