-
Notifications
You must be signed in to change notification settings - Fork 173
[ENH} Conditional Join #861
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
[ENH} Conditional Join #861
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #861 +/- ##
==========================================
+ Coverage 94.92% 95.66% +0.73%
==========================================
Files 19 19
Lines 2089 2444 +355
==========================================
+ Hits 1983 2338 +355
Misses 106 106 |
janitor/functions.py
Outdated
The function uses binary search to get these rows, thereby | ||
avoiding a cartesian join - this makes it less memory intensive. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SMAHT!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tremendous work, @samukweku! I mostly checked for docstrings as I trust the implementation is working (esp. based on the tests). The changes requested here should be pretty minor, and I've included a suggested change to make it easy for you if you decide to accept them.
Co-authored-by: Eric Ma <[email protected]>
Co-authored-by: Eric Ma <[email protected]>
Co-authored-by: Eric Ma <[email protected]>
Co-authored-by: Eric Ma <[email protected]>
Co-authored-by: Eric Ma <[email protected]>
@ericmjl @loganthomas @nvamsikrishna05 made some changes; ready for another round of review. Would also appreciate a review of #857 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good from my side, @samukweku!
@nvamsikrishna05 would you like to take a stab at a review here? Let us know in dev team chat if you'd like guidance on how we do review - though I suspect you might have a lot of experience to share with us rather than the other way around 😄. |
@ericmjl Thanks for confidence 🙂. It's a go ahead from my side. I do code reviews at my job too but almost all of them are either .Net based / JS based code reviews, so I may not be able to provide pythonic code review comments. @samukweku Looks good. Approving the PR. you can go ahead and merge it.
|
@nvamsikrishna05 thanks; could you point me to the lines of code you are referring to? the enums and the set check? thanks |
@samukweku Just marked couple of instances if you want to have a look. |
…ditional_join_func
@samukweku same here with the conflicts - when we merge, @nvamsikrishna05 would you like to do the honors? |
PR Description
Please describe the changes proposed in the pull request:
==
,!=
,<=
,<
,>=
,>
, or a combination.This PR resolves #737 .
Please ensure that you have done the following:
<your_username>
:dev
, but rather from<your_username>
:<feature-branch_name>
.AUTHORS.rst
.CHANGELOG.md
under the latest version header (i.e. the one that is "on deck") describing the contribution.Automatic checks
There will be automatic checks run on the PR. These include:
Relevant Reviewers
Please tag maintainers to review.