mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
matching 51% complete
This commit is contained in:
parent
702de41d46
commit
4601edbf27
1 changed files with 15 additions and 0 deletions
|
|
@ -204,6 +204,21 @@ class DataLoader:
|
||||||
# Remove full stops from the street name
|
# Remove full stops from the street name
|
||||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(".", "")
|
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(".", "")
|
||||||
|
|
||||||
|
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||||
|
"Chatworth road", "Chatsworth Place"
|
||||||
|
)
|
||||||
|
|
||||||
|
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||||
|
"Wood Croft", "Woodcroft"
|
||||||
|
)
|
||||||
|
|
||||||
|
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||||
|
"Milstone Avenue", "Millstone Avenue"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Strip out /TALKE from the street name
|
||||||
|
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("/TALKE", "")
|
||||||
|
|
||||||
matching_lookup = []
|
matching_lookup = []
|
||||||
for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)):
|
for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)):
|
||||||
house_number = row["NO."]
|
house_number = row["NO."]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue