mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
ha50 matching complete subject to checks
This commit is contained in:
parent
5a1aa39952
commit
d4e378f109
1 changed files with 29 additions and 0 deletions
|
|
@ -1416,6 +1416,35 @@ class DataLoader:
|
|||
"Tewson Road", "Tewson Green"
|
||||
)
|
||||
|
||||
# Remove 55 Seabridge Lane
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "Seabridge Lane") &
|
||||
(survey_list["Post Code"] == "ST5 4AG") &
|
||||
(survey_list["NO."].isin([55])))
|
||||
]
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "Tyne Way") &
|
||||
(survey_list["Post Code"] == "ST5 4AX") &
|
||||
(survey_list["NO."].isin([56])))
|
||||
]
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"St.Bernards Place", "St Bernard Place"
|
||||
)
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"Penarth Road", "Penarth Grove"
|
||||
)
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"St. Marys Road", "St Marys Road"
|
||||
)
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"Larch Drive", "Larch Grove"
|
||||
)
|
||||
|
||||
return survey_list
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue