Skip to content

Commit 9f9e442

Browse files
committed
rm coerce in internals
1 parent 52ba0e9 commit 9f9e442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/internals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def fillna(self, value, limit=None, inplace=False, downcast=None,
399399
if not mask.any():
400400
return self if inplace else self.copy()
401401

402-
if errors == 'coerce' or errors == 'raise':
402+
if errors == 'coerce':
403403
# we cannot coerce the underlying object, so
404404
# make an ObjectBlock
405405
return self.to_object_block(mgr=mgr).fillna(original_value,

0 commit comments

Comments
 (0)