11% complete matching

This commit is contained in:
Khalim Conn-Kowlessar 2024-01-22 11:51:28 +00:00
parent 8c61cca85d
commit 1e52fe7fb9

View file

@ -166,6 +166,14 @@ class DataLoader:
asset_list = pd.concat([asset_list, house_numbers[["HouseNo"]]], axis=1)
del split_addresses, house_numbers
# Correct the survey list
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
"Seabridge Road", "Seabridge Lane"
)
# Strip out /KNUTTON from the street name
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("/KNUTTON", "")
matching_lookup = []
for _, row in tqdm(survey_list.iterrows(), total=len(survey_list)):
house_number = row["NO."]