Correct bug in usage values, now 24h values are returned

This commit is contained in:
Guille Gutierrez 2022-06-01 13:40:42 -04:00
parent ea040e83df
commit 1dc325a38f

View File

@ -151,7 +151,7 @@ class ComnetCatalog(Catalog):
elif day == cte.SUNDAY or day == cte.HOLIDAY:
start = start + 2
end = end + 2
_schedule_values[day] = _extracted_data.iloc[start:end, 3:26].to_numpy().tolist()[0]
_schedule_values[day] = _extracted_data.iloc[start:end, 3:27].to_numpy().tolist()[0]
_schedule = []
for day in _schedule_values:
if schedule_data_type == 'temperature':