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 3b9bd7ca..a5b99a72 100644 --- a/etl/eligibility/ha_15_32/ha_analysis_batch_3.py +++ b/etl/eligibility/ha_15_32/ha_analysis_batch_3.py @@ -1416,6 +1416,35 @@ class DataLoader: "Tewson Road", "Tewson Green" ) + # Remove 55 Seabridge Lane + survey_list = survey_list[ + ~((survey_list["Street / Block Name"] == "Seabridge Lane") & + (survey_list["Post Code"] == "ST5 4AG") & + (survey_list["NO."].isin([55]))) + ] + + survey_list = survey_list[ + ~((survey_list["Street / Block Name"] == "Tyne Way") & + (survey_list["Post Code"] == "ST5 4AX") & + (survey_list["NO."].isin([56]))) + ] + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "St.Bernards Place", "St Bernard Place" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "Penarth Road", "Penarth Grove" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "St. Marys Road", "St Marys Road" + ) + + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace( + "Larch Drive", "Larch Grove" + ) + return survey_list @staticmethod