

def setup(self):
    self.mi = MultiIndex.from_tuples([(x, y) for x in range(1000) for y in range(1000)])
    self.s = Series(np.random.randn(1000000), index=self.mi)

dataset/ETHPy150Open pydata/pandas/asv_bench/benchmarks/indexing.py series_xs_mi_ix.setup/original