mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
started working on ha33 but paused
This commit is contained in:
parent
2828b005cb
commit
811f141c45
1 changed files with 8 additions and 2 deletions
|
|
@ -221,6 +221,12 @@ class DataLoader:
|
|||
asset_list["Postcode"].astype(str).str.lower().str.strip()
|
||||
)
|
||||
asset_list["matching_postcode"] = asset_list["Postcode"].astype(str).str.lower().str.strip()
|
||||
elif ha_name == "HA33":
|
||||
asset_list["matching_address"] = (
|
||||
asset_list["ADDRESS"].astype(str).str.lower().str.strip() + ", " +
|
||||
asset_list["POST CODE"].astype(str).str.lower().str.strip()
|
||||
)
|
||||
asset_list["matching_postcode"] = asset_list["POST CODE"].astype(str).str.lower().str.strip()
|
||||
elif ha_name == "HA39":
|
||||
# Create matching_address by concatenating add_1, add_2, add_3, add_4, add_5, post_code
|
||||
asset_list["matching_address"] = asset_list["add_1"].astype(str).str.lower().str.strip() + ", " + \
|
||||
|
|
@ -3426,9 +3432,9 @@ def app():
|
|||
december_figures_filepath = "local_data/ha_data/HA_December_figures.csv"
|
||||
|
||||
priority_has = [
|
||||
"HA1", "HA6", "HA7", "HA14", "HA15", "HA16", "HA24", "HA25", "HA32", "HA39", "HA107"
|
||||
"HA1", "HA6", "HA7", "HA14", "HA15", "HA16", "HA24", "HA25", "HA28", "HA32", "HA39", "HA107",
|
||||
]
|
||||
# Next HAs to do: 15[DONE], 32, 33,
|
||||
# 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, 41, 38, 10, 14, 20, 48
|
||||
# Filter down the directories to only the priority HAs
|
||||
directories = [d for d in directories if d.split("/")[2] in priority_has]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue