Skip to content

Commit 491685f

Browse files
committed
BUG: Fix boolean value of NA is ambiguous in iloc assignment
1 parent 4b90f0c commit 491685f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/arrays/numeric.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ def _coerce_to_array(
301301
) -> tuple[np.ndarray, np.ndarray]:
302302
dtype_cls = cls._dtype_cls
303303
default_dtype = dtype_cls._default_np_dtype
304-
values, mask,_,_ = _coerce_to_data_and_mask(
305-
value, dtype, copy, dtype_cls, default_dtype
304+
values, mask = _coerce_to_data_and_mask(
305+
value, dtype, copy, dtype_cls, default_dtype
306306
)
307307
return values, mask
308308

0 commit comments

Comments
 (0)