mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
adding for format_recomendations
This commit is contained in:
parent
76f9b22ca2
commit
2e78ba6d5d
2 changed files with 7 additions and 1 deletions
|
|
@ -175,6 +175,7 @@ def caha():
|
|||
).str.strip()
|
||||
|
||||
# We Add POstcode as it wasn't populated - split on space and take the last two entries and re-concatenate on space
|
||||
caha_asset_list["Street address"] = caha_asset_list["Street address"].str.strip()
|
||||
caha_asset_list["Postcode"] = caha_asset_list["Street address"].str.split(" ").str[-2:].str.join(" ")
|
||||
# Take just the columns we need
|
||||
caha_asset_list = caha_asset_list[["Address letter or number", "Street address", "Postcode"]]
|
||||
|
|
@ -184,7 +185,8 @@ def caha():
|
|||
|
||||
# Pull the data from find my epc
|
||||
remap = {
|
||||
"Flat A, 50 Talbot Road N6 4QP": "50a Talbot Road"
|
||||
"Flat A, 50 Talbot Road N6 4QP": "50a Talbot Road",
|
||||
"Flat A, 51 First Avenue EN1 1BN": "51a, First Avenue",
|
||||
}
|
||||
extracted_data = []
|
||||
asset_list = []
|
||||
|
|
|
|||
|
|
@ -231,6 +231,10 @@ class RetrieveFindMyEpc:
|
|||
],
|
||||
"Solar water heating": ["solar_water_heating"],
|
||||
"Solar photovoltaic panels, 2.5 kWp": ["solar_pv"],
|
||||
"Heating controls (room thermostat and TRVs)": [
|
||||
"roomstat_programmer_trvs", "time_temperature_zone_control"
|
||||
],
|
||||
"Change heating to gas condensing boiler": ["boiler_upgrade"],
|
||||
}
|
||||
|
||||
formatted_recommendations = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue