You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.17.0.txt
+7
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,13 @@ Check the :ref:`API Changes <whatsnew_0170.api>` and :ref:`deprecations <whatsne
20
20
21
21
New features
22
22
~~~~~~~~~~~~
23
+
- ``merge`` now accepts the argument ``indicator``. If ``True``, adds a column to output DataFrame called ``_merge`` with information on the source of each row. ``_merge`` is Categorical-type and takes on a value of ``left_only`` for observations whose merge key only appears in ``'left'`` DataFrame, ``right_only`` for observations whose merge key only appears in ``'right'`` DataFrame, and ``both`` if the observation's merge key is found in both. (:issue:`7412` and :issue:`8790`.)
0 commit comments