We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Notes
1 parent c9a2490 commit 0a00632Copy full SHA for 0a00632
pandas/core/series.py
@@ -2379,10 +2379,6 @@ def combine_first(self, other):
2379
"""
2380
Combine Series values, choosing the calling Series's values first.
2381
2382
- Notes
2383
- -----
2384
- Result index will be the union of the two indexes.
2385
-
2386
Parameters
2387
----------
2388
other : Series
@@ -2404,7 +2400,12 @@ def combine_first(self, other):
2404
2400
See Also
2405
2401
--------
2406
2402
Series.combine : Perform elementwise operation on two Series
2407
- using a given function.
2403
+ using a given function
+
+ Notes
+ -----
+ Result index will be the union of the two indexes.
2408
2409
2410
new_index = self.index.union(other.index)
2411
this = self.reindex(new_index, copy=False)
0 commit comments