Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions spatialpandas/geometry/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,9 @@ def intersects(self, shape, inds=None):
"intersects not yet implemented for %s objects" % type(self).__name__
)

def _pad_or_backfill(self, method, **kwargs):
raise NotImplementedError()


class _BaseCoordinateIndexer:
def __init__(self, sindex):
Expand Down
20 changes: 20 additions & 0 deletions spatialpandas/tests/test_fixedextensionarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ def test_getitem_boolean_na_treated_as_false(self, data):
def test_getitem_invalid(self, data):
pass

@pytest.mark.skip("__getitem__ with keys as positions is deprecated")
def test_getitem_series_integer_with_missing_raises(self, data, idx):
pass


class TestGeometryGroupby(eb.BaseGroupbyTests):
@pytest.mark.skip(
Expand Down Expand Up @@ -252,10 +256,26 @@ class TestGeometryMissing(eb.BaseMissingTests):
def test_fillna_frame(self):
pass

@pytest.mark.skip(reason="not implemented")
def test_fillna_limit_backfill(self):
pass

@pytest.mark.skip(reason="not implemented")
def test_fillna_limit_pad(self):
pass

@pytest.mark.skip(reason="not implemented")
def test_fillna_no_op_returns_copy(self):
pass

@pytest.mark.skip(reason="__setitem__ not supported")
def test_fillna_series(self):
pass

@pytest.mark.skip(reason="not implemented")
def test_fillna_series_method(self):
pass


class TestGeometryReshaping(eb.BaseReshapingTests):
@pytest.mark.skip(reason="__setitem__ not supported")
Expand Down
20 changes: 20 additions & 0 deletions spatialpandas/tests/test_listextensionarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ def test_getitem_boolean_na_treated_as_false(self, data):
def test_getitem_invalid(self, data):
pass

@pytest.mark.skip("__getitem__ with keys as positions is deprecated")
def test_getitem_series_integer_with_missing_raises(self, data, idx):
pass


class TestGeometryGroupby(eb.BaseGroupbyTests):
@pytest.mark.skip(
Expand Down Expand Up @@ -251,10 +255,26 @@ class TestGeometryMissing(eb.BaseMissingTests):
def test_fillna_frame(self):
pass

@pytest.mark.skip(reason="not implemented")
def test_fillna_limit_backfill(self):
pass

@pytest.mark.skip(reason="not implemented")
def test_fillna_limit_pad(self):
pass

@pytest.mark.skip(reason="not implemented")
def test_fillna_no_op_returns_copy(self):
pass

@pytest.mark.skip(reason="__setitem__ not supported")
def test_fillna_series(self):
pass

@pytest.mark.skip(reason="not implemented")
def test_fillna_series_method(self):
pass



class TestGeometryReshaping(eb.BaseReshapingTests):
Expand Down