Skip to content

DOC: Fix additional join examples in "10 Minutes to pandas" #13029 #13171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
11 changes: 11 additions & 0 deletions doc/source/10min.rst
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,17 @@ SQL style merges. See the :ref:`Database style joining <merging.join>`
right
pd.merge(left, right, on='key')

Another example that can be given is:

.. ipython:: python

left = pd.DataFrame({'key': ['foo', 'bar'], 'lval': [1, 2]})
right = pd.DataFrame({'key': ['foo', 'bar'], 'rval': [4, 5]})
left
right
pd.merge(left, right, on='key')


Append
~~~~~~

Expand Down