From a9196f001b986ef1dc7582f86d78aa423bbfa752 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Wed, 18 Aug 2021 14:17:21 +0200 Subject: [PATCH] fix 2 typos --- scripts/build_energy_totals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build_energy_totals.py b/scripts/build_energy_totals.py index 84e599e7..4b4dc2bc 100644 --- a/scripts/build_energy_totals.py +++ b/scripts/build_energy_totals.py @@ -265,7 +265,7 @@ def idees_per_country(ct, year): ] ct_totals["total agriculture machinery"] = df[rows].sum() - row = ["Agriculture, forestry and fishing"] + row = "Agriculture, forestry and fishing" ct_totals["total agriculture"] = df[row] # transport @@ -569,7 +569,7 @@ def build_eea_co2(year=1990): "international aviation", "domestic navigation", "international navigation", - "agriculture, forstry and fishing" + "agriculture, forestry and fishing" ] emissions["industrial non-elec"] = emissions["total energy"] - emissions[to_subtract].sum(axis=1)