Skip to content

Commit 3a69136

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

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
@@ -1105,7 +1105,7 @@ def test_iloc_assignment_nullable_int_with_na(self):
11051105
ser.iloc[indices] = values
11061106

11071107
expected = Series(
1108-
[None, 6, 13, 15, 4, 9, 10], index=[6, 1, 5, 0, 3, 2, 4], dtype="Int64"
1108+
[NA, 6, 13, 15, 4, 9, 10], index=[6, 1, 5, 0, 3, 2, 4], dtype="Int64"
11091109
)
11101110
tm.assert_series_equal(ser, expected)
11111111

0 commit comments

Comments
 (0)