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

joinp: add --right-anti and --right-semi options #2377

Closed
jqnatividad opened this issue Dec 25, 2024 · 3 comments · Fixed by #2378
Closed

joinp: add --right-anti and --right-semi options #2377

jqnatividad opened this issue Dec 25, 2024 · 3 comments · Fixed by #2378
Labels
enhancement New feature or request. Once marked with this label, its in the backlog. polars

Comments

@jqnatividad
Copy link
Collaborator

jqnatividad commented Dec 25, 2024

Per @datatraveller1 in #2363

It would be nice if the following options could be added:
--right-anti
--right-semi

I know I can achieve this by using --left-anti and --left-semi and swapping <columns1> <input1> and <columns2> <input2>, but that would be more convenient.

@jqnatividad jqnatividad added the enhancement New feature or request. Once marked with this label, its in the backlog. label Dec 25, 2024
@datatraveller1
Copy link

datatraveller1 commented Dec 25, 2024

Thank you, @jqnatividad ! I find these -anti and -semi options very useful for list intersection comparisons.
If you decide do add --right-anti and --right-semi to joinp, it should probably also be added to join.

@jqnatividad
Copy link
Collaborator Author

Just implemented it for joinp. Will add it to join as well for symmetry & consistency and track it on a separate issue.

@datatraveller1
Copy link

Hi @jqnatividad, great thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. Once marked with this label, its in the backlog. polars
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants