From 7a2c90cbf36c7e1d73452527683d52e8719be382 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 22 Jan 2024 11:54:20 +0000 Subject: [PATCH] matching 23% complete --- etl/eligibility/ha_15_32/ha_analysis_batch_3.py | 12 ++++++++++++ 1 file changed, 12 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 3bfea948..dfbd4fa4 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -174,6 +174,18 @@ class DataLoader: # Strip out /KNUTTON from the street name survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("/KNUTTON", "") + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "Clevend Road", "Cleveland Road" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "TURNERS AVENUE", "Turner Avenue" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "WEDGEWWOD AVENUE", "Wedgwood Avenue" + ) + matching_lookup = [] for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)): house_number = row["NO."]