

@unittest.skipIf(OLD_PANDAS, 'Groupby not supported on pandas <= 0.12')
def test_groupby(self):
    for (f, s) in self.pts.groupby((lambda x: (x % 2))):
        assert (type(s) is GeoSeries)

dataset/ETHPy150Open geopandas/geopandas/geopandas/tests/test_types.py TestSeries.test_groupby/original