From fd4b9baefb055f5b612d016542b29f6a2500dd7d Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 26 Dec 2023 19:33:43 +0000 Subject: [PATCH] cleaning --- etl/eligibility/ha_15_32/ha16_app.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etl/eligibility/ha_15_32/ha16_app.py b/etl/eligibility/ha_15_32/ha16_app.py index 26cf1a0d..a16fc37d 100644 --- a/etl/eligibility/ha_15_32/ha16_app.py +++ b/etl/eligibility/ha_15_32/ha16_app.py @@ -152,6 +152,13 @@ def load_data(): "lichens crescent") survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("south croft, fitton hill", "south croft") + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(", fitton hill", "") + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("firtree dr", "fir tree avenue") + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("hawthorne road", + "hawthorn crescent") + survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("rein lee avenue", + "reins lee avenue") + # Replacement for clively avenue 66-68 survey_list["NO."] = np.where( survey_list["NO."] == "66-68",