From 48ec641675a34b4c7c8b6c1cdbae62ecf2cc45d3 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 22 Jan 2024 17:17:57 +0000 Subject: [PATCH] 82% complete --- etl/eligibility/ha_15_32/ha_analysis_batch_3.py | 4 ++++ 1 file changed, 4 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 3a5b4ab4..61a90d14 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -156,6 +156,7 @@ class DataLoader: asset_list["propertyaddress"] = asset_list["propertyaddress"].str.replace("Baggott Place", "Baggotts Place") asset_list["propertyaddress"] = asset_list["propertyaddress"].str.replace("Cherry Tree", "Cherrytree") asset_list["propertyaddress"] = asset_list["propertyaddress"].str.replace("Maryhill Close", "Mary Hill Close") + asset_list["propertyaddress"] = asset_list["propertyaddress"].str.replace("Moffat Way", "Moffatt Way") # Prepare the asset list asset_list["matching_address"] = asset_list["propertyaddress"].str.lower().str.strip() @@ -260,6 +261,9 @@ class DataLoader: "Brittania Avenue", "Brittain Avenue" ) + # Moffat Way + # Moffatt Way + matching_lookup = [] for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)): house_number = row["NO."]