We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0184e commit b5ce22cCopy full SHA for b5ce22c
pandas/core/frame.py
@@ -7448,7 +7448,11 @@ def combine_first(self, other: DataFrame) -> DataFrame:
7448
7449
Combine two DataFrame objects by filling null values in one DataFrame
7450
with non-null values from other DataFrame. The row and column indexes
7451
- of the resulting DataFrame will be the union of the two.
+ of the resulting DataFrame will be the union of the two. The resulting
7452
+ dataframe contains the 'first' dataframe values and overrides the
7453
+ second one values where both first.loc[index, col] and
7454
+ second.loc[index, col] are not missing values, upon calling
7455
+ first.combine_first(second).
7456
7457
Parameters
7458
----------
0 commit comments