mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
a third through
This commit is contained in:
parent
85ad1d3fc5
commit
78827b4743
1 changed files with 3 additions and 1 deletions
|
|
@ -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("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("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("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
|
# 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
|
# Could be easier just to do a search on each row, even though it's much slower
|
||||||
matched = []
|
matched = []
|
||||||
for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)):
|
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
|
continue
|
||||||
|
|
||||||
house_number = row["NO."]
|
house_number = row["NO."]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue