Fixed error with reading cooling data

This commit is contained in:
Peter Yefi 2021-10-29 15:26:48 +00:00
parent 4eea12a069
commit ae0e2a905f

View File

@ -55,7 +55,7 @@ class XlsxHeatPumpParameters:
heating_data[sheet][heating_df.iloc[i][0]] = heating_df.iloc[i + 1:i + 4, 2:8].values.tolist()
i = i + 5
# extract the last cooling data
cooling_data[sheet][cooling_df.iloc[i][0]] = cooling_df.iloc[i + 1:i + 4, 2:8]
cooling_data[sheet][cooling_df.iloc[i][0]] = cooling_df.iloc[i + 1:i + 4, 2:8].values.tolist()
return {"cooling": cooling_data, "heating": heating_data}
def enrich_city(self):