From 4a6711a1403a8661b467a0f7023151829e305822 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Sun, 10 Mar 2024 14:35:08 +0000 Subject: [PATCH] handling ha56 dupes| --- etl/eligibility/ha_15_32/ha_analysis_batch_3.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py index f9bf3856..0030af9d 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -1846,6 +1846,13 @@ class DataLoader: "PORTLAND RD", "Portland Road" ) + # We remove a row, because two rows match to a block listing + survey_list = survey_list[ + ~((survey_list["Street / Block Name"] == "Tavlin Avenue") & + (survey_list["NO."] == 17) & + (survey_list["Post Code"] == "WA5 0EN")) + ] + return survey_list @staticmethod