diff --git a/hub/catalog_factories/usage/comnet_catalog.py b/hub/catalog_factories/usage/comnet_catalog.py index e78fed67..aa8e03f7 100644 --- a/hub/catalog_factories/usage/comnet_catalog.py +++ b/hub/catalog_factories/usage/comnet_catalog.py @@ -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()