

def test_fancy(self):
    idx = (idx.pts.index.to_series() % 2).astype(bool)
    assert (type(self.pts[idx]) is GeoSeries)

dataset/ETHPy150Open geopandas/geopandas/geopandas/tests/test_types.py TestSeries.test_fancy/VarMisuse@13/16 `self`->`idx`