Skip to content

Commit 3327426

Browse files
committed
BUG: Fix boolean value of NA is ambiguous in iloc assignment for nullable integer Series
1 parent 47e1a01 commit 3327426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexing/test_iloc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ def test_iloc_assignment_nullable_int_with_na(self):
11071107
expected = Series(
11081108
[None, 6, 13, 15, 4, 9, 10], index=[6, 1, 5, 0, 3, 2, 4], dtype="Int64"
11091109
)
1110-
tm.assert_series_equal(ser.sort_index(), expected)
1110+
tm.assert_series_equal(ser, expected)
11111111

11121112
@pytest.mark.parametrize("has_ref", [True, False])
11131113
def test_iloc_setitem_dictionary_value(self, has_ref):

0 commit comments

Comments
 (0)