Skip to content

Implement default values for the data-operation functions #529

Open
@danielhuppmann

Description

@danielhuppmann

Based on the discussion initiated by @pjuergens at #524, this issue takes one of the further improvements discussed in that issue:

The initial solution implemented in #527 implicitly assumes None if a value for a specific index on a but not on b (or vice-versa). For illustration, model_a|scen_b is dropped in the unit tests, see

def test_add_variable(test_df_year, append):

As an additional feature, it would be helpful to (optionally) set a default value in the data-ops functions if a value is defined in one argument but not another.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions