IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
221 stars 115 forks source link

Support initializing with `meta` dataframe in long format #801

Closed danielhuppmann closed 7 months ago

danielhuppmann commented 7 months ago

Please confirm that this PR has done the following:

Description of PR

In preparation for better integration with ixmp4, this PR supports passing a meta dataframe with model-scenario "index" as columns and/or in long-format as key-value columns.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (95ebfce) 94.7% compared to head (f937ea9) 94.7%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #801 +/- ## ===================================== Coverage 94.7% 94.7% ===================================== Files 62 62 Lines 5999 6013 +14 ===================================== + Hits 5683 5697 +14 Misses 316 316 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.