Skip to content

ENH: add merge indicator to DataFrame.merge #11154

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

Merged
merged 1 commit into from
Sep 20, 2015

Conversation

chris-b1
Copy link
Contributor

Follow-up to #10054
xref #8790

Adds new indicator keyword to DataFrame.merge as well

@@ -4265,12 +4265,12 @@ def _join_compat(self, other, on=None, how='left', lsuffix='', rsuffix='',
@Appender(_merge_doc, indents=2)
def merge(self, right, how='inner', on=None, left_on=None, right_on=None,
left_index=False, right_index=False, sort=False,
suffixes=('_x', '_y'), copy=True):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this in the doc-string as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, they share a docstring.

@jreback jreback added Reshaping Concat, Merge/Join, Stack/Unstack, Explode API Design labels Sep 20, 2015
@jreback jreback added this to the 0.17.0 milestone Sep 20, 2015
jreback added a commit that referenced this pull request Sep 20, 2015
ENH: add merge indicator to DataFrame.merge
@jreback jreback merged commit d35c84b into pandas-dev:master Sep 20, 2015
@jreback
Copy link
Contributor

jreback commented Sep 20, 2015

thanks!

@chris-b1 chris-b1 deleted the merge-indicator-method branch September 20, 2015 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Design Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants