We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc51b2f commit 10bede8Copy full SHA for 10bede8
pandas/tests/extension/base/methods.py
@@ -94,9 +94,9 @@ def test_apply_simple_series(self, data):
94
assert isinstance(result, pd.Series)
95
96
@pytest.mark.parametrize("na_action", [None, "ignore"])
97
- def test_map(self, data, na_action):
98
- result = data.map(lambda x: x, na_action=na_action)
99
- expected = data.to_numpy()
+ def test_map(self, data_missing, na_action):
+ result = data_missing.map(lambda x: x, na_action=na_action)
+ expected = data_missing.to_numpy()
100
tm.assert_numpy_array_equal(result, expected)
101
102
def test_argsort(self, data_for_sorting):
0 commit comments