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

Method setup

asv_bench/benchmarks/multiindex_object.py:225–233  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

223
224class Equals:
225 def setup(self):
226 self.mi = MultiIndex.from_product(
227 [
228 date_range("2000-01-01", periods=1000),
229 RangeIndex(1000),
230 ]
231 )
232 self.mi_deepcopy = self.mi.copy(deep=True)
233 self.idx_non_object = RangeIndex(1)
234
235 def time_equals_deepcopy(self):
236 self.mi.equals(self.mi_deepcopy)

Callers

nothing calls this directly

Calls 4

date_rangeFunction · 0.90
RangeIndexClass · 0.90
from_productMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected