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

Method setup

asv_bench/benchmarks/indexing.py:343–347  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

341
342class DatetimeIndexIndexing:
343 def setup(self):
344 dti = date_range("2016-01-01", periods=10000, tz="US/Pacific")
345 dti2 = dti.tz_convert("UTC")
346 self.dti = dti
347 self.dti2 = dti2
348
349 def time_get_indexer_mismatched_tz(self):
350 # reached via e.g.

Callers

nothing calls this directly

Calls 2

date_rangeFunction · 0.90
tz_convertMethod · 0.45

Tested by

no test coverage detected