Skip to content

Commit

Permalink
Set name of series returned by aggregate_time() (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored Oct 16, 2023
1 parent fa3fed0 commit f023ec3
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 f023ec3

Please sign in to comment.