handling case for 66-68 clively

This commit is contained in:
Khalim Conn-Kowlessar 2023-12-26 14:16:11 +00:00
parent 78827b4743
commit 4dc827037d

View file

@ -130,6 +130,14 @@ def load_data():
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("cresent", "crescent")
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("plantation road",
"plantation avenue")
# Replacement for clively avenue 66-68
survey_list["NO."] = np.where(
survey_list["NO."] == "66-68",
"66",
survey_list["NO."]
)
# asset_list[asset_list["Address"].str.lower().str.contains("clively")]
# We now need to merge the survey list onto the asset list
# Could be easier just to do a search on each row, even though it's much slower