From 78827b4743f2bcff576d3a748cd4367a99d10d72 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 25 Dec 2023 00:28:50 +0000 Subject: [PATCH] a third through --- etl/eligibility/ha_15_32/ha16_app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etl/eligibility/ha_15_32/ha16_app.py b/etl/eligibility/ha_15_32/ha16_app.py index e98f8ddc..80a6b59d 100644 --- a/etl/eligibility/ha_15_32/ha16_app.py +++ b/etl/eligibility/ha_15_32/ha16_app.py @@ -128,13 +128,15 @@ def load_data(): survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("chatley, road", "chatley road") survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("vaughen", "Vaughan") survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("cresent", "crescent") + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("plantation road", + "plantation avenue") # We now need to merge the survey list onto the asset list # Could be easier just to do a search on each row, even though it's much slower matched = [] for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)): - if row["Street / Block Name"] in ["carleach grove"]: + if row["Street / Block Name"] in ["carleach grove", "arbour grove"]: continue house_number = row["NO."]