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

Method time_reindex_multiindex_no_cache

asv_bench/benchmarks/reindex.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 self.s.reindex(self.s_subset.index)
44
45 def time_reindex_multiindex_no_cache(self):
46 # Copy to avoid MultiIndex._values getting cached
47 self.s.reindex(self.s_subset_no_cache.index.copy())
48
49 def time_reindex_multiindex_no_cache_dates(self):
50 # Copy to avoid MultiIndex._values getting cached

Callers

nothing calls this directly

Calls 2

reindexMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected