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

Allow merging Cohorts #294

Open
ielis opened this issue Oct 2, 2024 · 0 comments
Open

Allow merging Cohorts #294

ielis opened this issue Oct 2, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ielis
Copy link
Member

ielis commented Oct 2, 2024

We may want to overload __add__ or __or__ operators on Cohort to allow merging two cohorts, because a cohort is essentially a set of individuals. The merge can succeed as long as there is no individual with the same ID present in both cohorts.

@ielis ielis added the enhancement New feature or request label Oct 2, 2024
@ielis ielis added this to the Nice to have milestone Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant