From 08e701a972c9b78b3b4c24bd7049971829df1c7c Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 3 Nov 2023 06:38:06 +0100 Subject: [PATCH] Remove deprecated warning --- hub/catalog_factories/usage/eilat_catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/catalog_factories/usage/eilat_catalog.py b/hub/catalog_factories/usage/eilat_catalog.py index 4b70c47c..7318502a 100644 --- a/hub/catalog_factories/usage/eilat_catalog.py +++ b/hub/catalog_factories/usage/eilat_catalog.py @@ -188,7 +188,7 @@ class EilatCatalog(Catalog): schedules_key = {} for j in range(0, number_usage_types): 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()