resolve cherry merge conflict 2
This commit is contained in:
parent
998761ec88
commit
9812e64e82
@ -37,6 +37,7 @@ dependencies:
|
|||||||
- matplotlib
|
- matplotlib
|
||||||
- proj
|
- proj
|
||||||
- fiona <= 1.18.20 # Till issue https://github.com/Toblerity/Fiona/issues/1085 is not solved
|
- fiona <= 1.18.20 # Till issue https://github.com/Toblerity/Fiona/issues/1085 is not solved
|
||||||
|
- country_converter
|
||||||
|
|
||||||
# Keep in conda environment when calling ipython
|
# Keep in conda environment when calling ipython
|
||||||
- ipython
|
- ipython
|
||||||
@ -50,7 +51,6 @@ dependencies:
|
|||||||
- geopy
|
- geopy
|
||||||
- tqdm
|
- tqdm
|
||||||
- pytz
|
- pytz
|
||||||
- country_converter
|
|
||||||
- tabula-py
|
- tabula-py
|
||||||
|
|
||||||
- pip:
|
- pip:
|
||||||
|
@ -79,6 +79,7 @@ def get_eia_annual_hydro_generation(fn, countries):
|
|||||||
df.loc["Germany"] = df.filter(like='Germany', axis=0).sum()
|
df.loc["Germany"] = df.filter(like='Germany', axis=0).sum()
|
||||||
df.loc["Serbia"] += df.loc["Kosovo"]
|
df.loc["Serbia"] += df.loc["Kosovo"]
|
||||||
df = df.loc[~df.index.str.contains('Former')]
|
df = df.loc[~df.index.str.contains('Former')]
|
||||||
|
df.drop(["Europe", "Germany, West", "Germany, East"], inplace=True)
|
||||||
|
|
||||||
df.index = cc.convert(df.index, to='iso2')
|
df.index = cc.convert(df.index, to='iso2')
|
||||||
df.index.name = 'countries'
|
df.index.name = 'countries'
|
||||||
|
Loading…
Reference in New Issue
Block a user