mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
11% complete matching
This commit is contained in:
parent
8c61cca85d
commit
1e52fe7fb9
1 changed files with 8 additions and 0 deletions
|
|
@ -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."]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue