Norway currently ignored when building energy totals

This commit is contained in:
martacki 2024-01-16 20:13:28 +01:00 committed by Fabian Neumann
parent 90889a00e5
commit 55eddb6e1d

View File

@ -479,7 +479,7 @@ def build_energy_totals(countries, eurostat, swiss, idees):
# The main heating source for about 73 per cent of the households is based on electricity
# => 26% is non-electric
if "NO" in df:
if "NO" in df.index:
elec_fraction = 0.73
no_norway = df.drop("NO")