From 1146f34eba62ab2b00f610502b17ba6f9425cf43 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Thu, 7 Mar 2024 15:24:20 +0000 Subject: [PATCH] matching 81% complete --- .../ha_15_32/ha_analysis_batch_3.py | 39 +++++++++++++++++++ 1 file changed, 39 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 bde6f647..818f6e4f 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -1333,6 +1333,45 @@ class DataLoader: (survey_list["NO."].isin([4]))) ] + # Remove 11 Tilehurst Place + survey_list = survey_list[ + ~((survey_list["Street / Block Name"] == "Tilehurst Place") & + (survey_list["Post Code"] == "ST3 3AP") & + (survey_list["NO."].isin([11]))) + ] + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "deavile road", "DEAVILLE ROAD" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "WOOLISCROFT ROAD", "WOOLLISCROFT ROAD" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "Leak Road", "Leek Road" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "Springfield road", "Springfields road" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "MILLWARD RD", "MILLWARD ROAD" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "REPINGTON RD", "REPINGTON ROAD" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "ECCELSTONE PLACE", "ECCLESTONE PLACE" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "St. James Place", "St James Place" + ) + return survey_list @staticmethod