From 0015a3efd75002ba6f57c69bf689df9c6a342c14 Mon Sep 17 00:00:00 2001 From: guille Date: Mon, 5 Feb 2024 08:25:00 +0100 Subject: [PATCH] hotfix: remove deprecation warning --- hub/catalog_factories/usage/comnet_catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()