11% through matching ha38

This commit is contained in:
Khalim Conn-Kowlessar 2024-03-06 21:11:17 +00:00
parent af13467c2c
commit 8dcb6a9be0

View file

@ -1054,6 +1054,17 @@ class DataLoader:
'Kingsford Court, Coombe Valley Road', 'Kingsford Court'
)
survey_list["Street / Block Name"] = survey_list["Street / Block Name"].str.replace(
'LESLIE TEW COURT/DERWENT ROAD', 'LESLIE TEW COURT'
)
# There is no 18A LESLIE TEW COURT in the asset list
survey_list = survey_list[
~((survey_list["Street / Block Name"] == "LESLIE TEW COURT") &
(survey_list["Post Code"] == "TN10 3TX") &
(survey_list["NO."] == "18A"))
]
return survey_list
@staticmethod
@ -3848,12 +3859,10 @@ def app():
# Grab the December HA figures filepath
december_figures_filepath = "local_data/ha_data/HA_December_figures.csv"
# priority_has = [
# "HA1", "HA6", "HA7", "HA14", "HA15", "HA16", "HA24", "HA25", "HA28", "HA32", "HA38", "HA39", "HA107",
# ]
# Add in: "HA25"
# TODO: Remove ECO3 sales from HA25
priority_has = [
"HA1", "HA6", "HA7", "HA14", "HA15", "HA16", "HA24", "HA28", "HA32", "HA39", "HA107",
"HA1", "HA6", "HA7", "HA14", "HA15", "HA16", "HA24", "HA28", "HA32", "HA38", "HA39", "HA107",
]
# Next HAs to do: 15[DONE], 32 [DONE], 33 [Input format is 4 parts and no eco4 jobs identified - come back on this],
# Then: 28 [DONE],