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

Support filtering by list with wildcard #32

Open
danielhuppmann opened this issue Nov 23, 2023 · 0 comments
Open

Support filtering by list with wildcard #32

danielhuppmann opened this issue Nov 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@danielhuppmann
Copy link
Member

A useful feature (from a pyam-user-perspective) is to filter by a list with wildcards, e.g., get all variables from the Primary-Energy and Emissions category. In pyam, this could be done using

df.filter(variable=["Primary Energy|*", "Emissions|*"]

The current filter-structure allows only either filtering by a list (using equality) or a single wildcard string.

@danielhuppmann danielhuppmann added the enhancement New feature or request label Nov 23, 2023
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