Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Backport PR #25360: DOC: Correct doc mistake in combiner func
  • Loading branch information
gfyoung authored and MeeseeksDev[bot] committed Feb 18, 2019
commit 3100bc83178c87d460c6b5c60bf280dfd87cc653
2 changes: 1 addition & 1 deletion doc/source/getting_started/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ So, for instance, to reproduce :meth:`~DataFrame.combine_first` as above:
.. ipython:: python

def combiner(x, y):
np.where(pd.isna(x), y, x)
return np.where(pd.isna(x), y, x)
df1.combine(df2, combiner)

.. _basics.stats:
Expand Down