hotfix: remove deprecation warning

This commit is contained in:
Guille Gutierrez 2024-02-05 08:25:00 +01:00
parent 32ed8671d8
commit 0015a3efd7

View File

@ -190,7 +190,7 @@ class ComnetCatalog(Catalog):
schedules_key = {}
for j in range(0, number_usage_types-1):
usage_parameters = _extracted_data.iloc[j]
usage_type = usage_parameters[0]
usage_type = usage_parameters.iloc[0]
lighting_data[usage_type] = usage_parameters[1:6].values.tolist()
plug_loads_data[usage_type] = usage_parameters[8:13].values.tolist()
occupancy_data[usage_type] = usage_parameters[17:20].values.tolist()