forked from s_ranjbar/city_retrofit
Correct bug in usage values, now 24h values are returned
This commit is contained in:
parent
ea040e83df
commit
1dc325a38f
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue
Block a user