-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Impact.impact_at_reg method for aggregating impacts per region (#642
) The method either takes an array indicating the region for each exposure centroid, or aggregates the impact per country. It returns a pandas.DataFrame with one event per row where the columns are the unique aggregation regions. Changes: * Add `Impact.impact_at_reg` method. * Add unit tests. --------- Co-authored-by: Lukas Riedel <34276446+peanutfun@users.noreply.github.com> Co-authored-by: Chahan M. Kropf <chahan.kropf@usys.ethz.ch> Co-authored-by: Emanuel Schmid <51439563+emanuel-schmid@users.noreply.github.com>
- Loading branch information
1 parent
04cc405
commit 187a7d5
Showing
3 changed files
with
124 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters