mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
done ha30 matching
This commit is contained in:
parent
22f3aca336
commit
cd81c2b0b2
1 changed files with 68 additions and 0 deletions
|
|
@ -1915,6 +1915,74 @@ class DataLoader:
|
|||
(survey_list["NO."] == 9))
|
||||
]
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "PAYTHORNE CLOSE") &
|
||||
(survey_list["NO."] == 10))
|
||||
]
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "MARCHWOOD ROAD") &
|
||||
(survey_list["NO."] == 11))
|
||||
]
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "Otterburn Close") &
|
||||
(survey_list["NO."] == 4))
|
||||
]
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "Blossom Court") &
|
||||
(survey_list["NO."] == 5))
|
||||
]
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"St LUKES CLOSE , HUNTINGDON", "St. Lukes Close"
|
||||
)
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "St. Lukes Close") &
|
||||
(survey_list["NO."].isin([4, 7, 8])))
|
||||
]
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"ROMAN WAY , GODMANCHESTER , HUNTINGDON", "Roman Way"
|
||||
)
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "Roman Way") &
|
||||
(survey_list["NO."].isin([58])))
|
||||
]
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"HEADLANDS , FENSTANTON , HUNTINGDON", "Headlands Fenstanton"
|
||||
)
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "Headlands Fenstanton") &
|
||||
(survey_list["NO."].isin([126, 134])))
|
||||
]
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"WALLACE COURT , HUNTINGDON", "Wallace Court"
|
||||
)
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"CRICKETERS WAY , CHATTERIS", "Cricketers Way"
|
||||
)
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"Jubilee Gardens", "Jubilee Green"
|
||||
)
|
||||
|
||||
survey_list = survey_list[
|
||||
~((survey_list["Street / Block Name"] == "Harrow Road") &
|
||||
(survey_list["NO."].isin([10])))
|
||||
]
|
||||
|
||||
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
|
||||
"ST LUKES CLOSE", "St. Lukes Close"
|
||||
)
|
||||
|
||||
return survey_list
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue