mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
handling case for 66-68 clively
This commit is contained in:
parent
78827b4743
commit
4dc827037d
1 changed files with 8 additions and 0 deletions
|
|
@ -130,6 +130,14 @@ def load_data():
|
|||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("cresent", "crescent")
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace("plantation road",
|
||||
"plantation avenue")
|
||||
# Replacement for clively avenue 66-68
|
||||
survey_list["NO."] = np.where(
|
||||
survey_list["NO."] == "66-68",
|
||||
"66",
|
||||
survey_list["NO."]
|
||||
)
|
||||
|
||||
# asset_list[asset_list["Address"].str.lower().str.contains("clively")]
|
||||
|
||||
# We now need to merge the survey list onto the asset list
|
||||
# Could be easier just to do a search on each row, even though it's much slower
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue