Skip to content

Commit

Permalink
Set name of series returned by aggregate_time()
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Oct 16, 2023
1 parent fa3fed0 commit 7052f67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyam/aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ def _aggregate_time(df, variable, column, value, components, method="sum"):
# reset index-level order to original IamDataFrame
_data.index = _data.index.reorder_levels(df.dimensions)

# set name of series
_data.name = "value"

return _data


Expand Down

0 comments on commit 7052f67

Please sign in to comment.