diff --git a/pyam/core.py b/pyam/core.py index 7e85bdb4b..ac1fb4a69 100644 --- a/pyam/core.py +++ b/pyam/core.py @@ -1534,7 +1534,7 @@ def _apply_defaults(df, defaults): # only need to fill in defaults if 'variable' in df.columns: return IamDataFrame(_apply_defaults(df, defaults)) - + # variables are in columns and melt operation needed cols = list(set(df.columns) - set(GROUP_IDX)) idx = list(set(df.columns) & set(GROUP_IDX)) @@ -1547,4 +1547,3 @@ def _apply_defaults(df, defaults): df = pd.concat(dfs) df = _apply_defaults(df, defaults) return IamDataFrame(_apply_defaults(df, defaults)) -