We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Notes
1 parent b8b84c7 commit 948d5daCopy full SHA for 948d5da
pandas/core/series.py
@@ -2356,10 +2356,6 @@ def combine_first(self, other):
2356
"""
2357
Combine Series values, choosing the calling Series's values first.
2358
2359
- Notes
2360
- -----
2361
- Result index will be the union of the two indexes.
2362
-
2363
Parameters
2364
----------
2365
other : Series
@@ -2382,6 +2378,11 @@ def combine_first(self, other):
2382
2378
--------
2383
2379
Series.combine : Perform elementwise operation on two Series
2384
2380
using a given function
2381
+
+ Notes
+ -----
+ Result index will be the union of the two indexes.
2385
2386
2387
new_index = self.index.union(other.index)
2388
this = self.reindex(new_index, copy=False)
0 commit comments