From 34172055a62818d2a1120538de8b5549ac88bd12 Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 24 Feb 2023 15:49:40 -0500 Subject: [PATCH] Store the meb as float --- hub/imports/results/insel_monthly_energry_balance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hub/imports/results/insel_monthly_energry_balance.py b/hub/imports/results/insel_monthly_energry_balance.py index 91a4c7c7..50b5f34d 100644 --- a/hub/imports/results/insel_monthly_energry_balance.py +++ b/hub/imports/results/insel_monthly_energry_balance.py @@ -35,8 +35,8 @@ class InselMonthlyEnergyBalance: demand[i] = '0' heating.append(demand[0]) cooling.append(demand[1]) - monthly_heating = pd.DataFrame(heating, columns=[cte.INSEL_MEB]) - monthly_cooling = pd.DataFrame(cooling, columns=[cte.INSEL_MEB]) + monthly_heating = pd.DataFrame(heating, columns=[cte.INSEL_MEB]).astype(float) + monthly_cooling = pd.DataFrame(cooling, columns=[cte.INSEL_MEB]).astype(float) return monthly_heating, monthly_cooling def enrich(self):