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

Method setup_cache

asv_bench/benchmarks/timedelta.py:14–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12
13class DatetimeAccessor:
14 def setup_cache(self):
15 N = 100000
16 series = Series(timedelta_range("1 days", periods=N, freq="h"))
17 return series
18
19 def time_dt_accessor(self, series):
20 series.dt

Callers

nothing calls this directly

Calls 2

SeriesClass · 0.90
timedelta_rangeFunction · 0.90

Tested by

no test coverage detected