Skip to content

Commit 6bb5a67

Browse files
authored
REF: combine_first blockmanager.where frame.py
Trying to solve REF/CLN pandas-dev#38174, it passes the first standard test, but not the others.
1 parent 984d755 commit 6bb5a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8701,8 +8701,8 @@ def combiner(x, y):
87018701
# just return y_values.
87028702
if y.name not in self.columns:
87038703
return y_values
8704-
8705-
return expressions.where(mask, y_values, x_values)
8704+
values = self._mgr.where(y_values, mask, align=True)
8705+
return values
87068706

87078707
if len(other) == 0:
87088708
combined = self.reindex(

0 commit comments

Comments
 (0)