From 88dba985121847067317a9e423f63043b2d32140 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Thu, 14 Mar 2024 18:11:02 +0100 Subject: [PATCH] fix for CI --- scripts/build_energy_totals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_energy_totals.py b/scripts/build_energy_totals.py index a53c6208..19fc5a8e 100644 --- a/scripts/build_energy_totals.py +++ b/scripts/build_energy_totals.py @@ -419,7 +419,7 @@ def build_energy_totals(countries, eurostat, swiss, idees): # add swiss energy data - df = pd.concat([df.drop("CH"), swiss]).sort_index() + df = pd.concat([df.drop("CH", errors='ignore'), swiss]).sort_index() # get values for missing countries based on Eurostat EnergyBalances # divide cooking/space/water according to averages in EU28