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

Implement simple filters #64

Merged
merged 9 commits into from
Mar 14, 2024

Conversation

danielhuppmann
Copy link
Member

This PR implements a "short-hand notation" for filters in the facade-layer following the conventions of the pyam package, which allows to do df.filter(variable="Primary *") for like-comparing (using * as a wildcard).

The implementation replaces string or lists to the more elaborate filter-dictionary-style used in the ixmp4 data layer and the Rest API.

@danielhuppmann danielhuppmann self-assigned this Mar 13, 2024
Copy link
Contributor

@meksor meksor left a comment

Choose a reason for hiding this comment

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

lgtm

@danielhuppmann danielhuppmann merged commit 3f45bba into iiasa:main Mar 14, 2024
6 checks passed
@danielhuppmann danielhuppmann deleted the core/simple-filters branch March 14, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants