district heating: handle missing GB data for 2020-2021
This commit is contained in:
parent
5b5d308bf7
commit
955d6837fd
@ -611,6 +611,11 @@ def build_district_heat_share(countries, idees):
|
||||
|
||||
district_heat_share.name = "district heat share"
|
||||
|
||||
# restrict to available years
|
||||
district_heat_share = (
|
||||
district_heat_share.unstack().dropna(how="all", axis=1).ffill(axis=1)
|
||||
)
|
||||
|
||||
return district_heat_share
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user