(self, empty)
| 98 | |
| 99 | @pytest.mark.parametrize("empty", [[], Series(dtype=object), np.array([])]) |
| 100 | def test_isin_empty(self, empty): |
| 101 | # see GH#16991 |
| 102 | s = Series(["a", "b"]) |
| 103 | expected = Series([False, False]) |
| 104 | |
| 105 | result = s.isin(empty) |
| 106 | tm.assert_series_equal(expected, result) |
| 107 | |
| 108 | def test_isin_read_only(self): |
| 109 | # https://github.com/pandas-dev/pandas/issues/37174 |