mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-17 12:20:25 +08:00
BUG: Remove __getslice__ override.
__getitem__ handles slices in pandas.
This commit is contained in:
@@ -113,9 +113,6 @@ class GeoSeries(GeoPandasBase, Series):
|
||||
def __getitem__(self, key):
|
||||
return self._wrapped_pandas_method('__getitem__', key)
|
||||
|
||||
def __getslice__(self, i, j):
|
||||
return self._wrapped_pandas_method('__getslice__', i, j)
|
||||
|
||||
def order(self, *args, **kwargs):
|
||||
return self._wrapped_pandas_method('order', *args, **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user