Skip to content
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

Fuzzy match between the left_on and right_on #39315

Closed
BoxOink opened this issue Jan 21, 2021 · 2 comments
Closed

Fuzzy match between the left_on and right_on #39315

BoxOink opened this issue Jan 21, 2021 · 2 comments
Labels
Enhancement Reshaping Concat, Merge/Join, Stack/Unstack, Explode

Comments

@BoxOink
Copy link

BoxOink commented Jan 21, 2021

In MSSQL, JOIN statement is allowed to take in LIKE clause instead of the usual exact match condition.

Hence, I am wondering how is the left_on key being compared to the right_on key in merge. So that maybe I can try to change the exact match to a fuzzy match :(

@nmay231
Copy link
Contributor

nmay231 commented Feb 10, 2021

pd.merge only does exact matches with the left_on, right_on, and on arguments. You must do fuzzy merges manually like how this stackoverflow post demonstrates.

@mroeschke mroeschke added Enhancement Reshaping Concat, Merge/Join, Stack/Unstack, Explode labels Aug 15, 2021
@mroeschke
Copy link
Member

Thanks for the request but it appears this hasn't gotten traction in a while so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

No branches or pull requests

3 participants