matching 51% complete

This commit is contained in:
Khalim Conn-Kowlessar 2024-01-22 12:42:01 +00:00
parent 702de41d46
commit 4601edbf27

View file

@ -204,6 +204,21 @@ class DataLoader:
# 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(
"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 = []
for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)):
house_number = row["NO."]