Skip to content

Commit b90bcb5

Browse files
gfyoungjorisvandenbossche
authored andcommitted
DOC: Correct doc mistake in combiner func (#25360)
Closes gh-25359.
1 parent 659e0ca commit b90bcb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/getting_started/basics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ So, for instance, to reproduce :meth:`~DataFrame.combine_first` as above:
505505
.. ipython:: python
506506
507507
def combiner(x, y):
508-
np.where(pd.isna(x), y, x)
508+
return np.where(pd.isna(x), y, x)
509509
df1.combine(df2, combiner)
510510
511511
.. _basics.stats:

0 commit comments

Comments
 (0)