mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixing matching wip
This commit is contained in:
parent
4dbd76a405
commit
f2305fa9b2
1 changed files with 8 additions and 0 deletions
|
|
@ -174,6 +174,14 @@ def load_data():
|
|||
eco4_prospects_survey_list.loc[838, "NO"] = "6a"
|
||||
eco4_prospects_survey_list.loc[839, "NO"] = "6b"
|
||||
|
||||
# 3, 7, 9 BOLDVENTURE ROAD should be BOLDVENTURE CLOSE
|
||||
eco4_prospects_survey_list["ADDRESS 1"] = np.where(
|
||||
(eco4_prospects_survey_list["ADDRESS 1"] == "boldventure road") &
|
||||
(eco4_prospects_survey_list["NO"].isin([3, 7, 9])),
|
||||
"boldventure close",
|
||||
eco4_prospects_survey_list["ADDRESS 1"]
|
||||
)
|
||||
|
||||
matched = []
|
||||
for _, row in tqdm(eco4_prospects_survey_list.iterrows(), total=len(eco4_prospects_survey_list)):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue