a third through

This commit is contained in:
Khalim Conn-Kowlessar 2023-12-25 00:28:50 +00:00
parent 85ad1d3fc5
commit 78827b4743

View file

@ -128,13 +128,15 @@ def load_data():
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("chatley, road", "chatley road")
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("vaughen", "Vaughan")
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")
# 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
matched = []
for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)):
if row["Street / Block Name"] in ["carleach grove"]:
if row["Street / Block Name"] in ["carleach grove", "arbour grove"]:
continue
house_number = row["NO."]