mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
ha48 ciga unmatched count added
This commit is contained in:
parent
ae714e42a6
commit
c84be65e8d
1 changed files with 6 additions and 1 deletions
|
|
@ -159,6 +159,10 @@ class DataLoader:
|
||||||
"HA25": {
|
"HA25": {
|
||||||
"address": "T1_Address",
|
"address": "T1_Address",
|
||||||
"postcode": "matching_postcode"
|
"postcode": "matching_postcode"
|
||||||
|
},
|
||||||
|
"HA48": {
|
||||||
|
"address": "Full Address",
|
||||||
|
"postcode": "Postcode"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -170,6 +174,7 @@ class DataLoader:
|
||||||
"HA24": 12,
|
"HA24": 12,
|
||||||
"HA50": 4,
|
"HA50": 4,
|
||||||
"HA107": 51,
|
"HA107": 51,
|
||||||
|
"HA48": 0
|
||||||
}
|
}
|
||||||
|
|
||||||
UNMATCHED_ECO3 = {
|
UNMATCHED_ECO3 = {
|
||||||
|
|
@ -190,7 +195,7 @@ class DataLoader:
|
||||||
|
|
||||||
def create_asset_list_matching_address(self, ha_name, asset_list):
|
def create_asset_list_matching_address(self, ha_name, asset_list):
|
||||||
|
|
||||||
if ha_name in ["HA1", "HA6", "HA16", "HA24"]:
|
if ha_name in ["HA1", "HA6", "HA16", "HA24", "HA48"]:
|
||||||
asset_list["matching_address"] = asset_list[
|
asset_list["matching_address"] = asset_list[
|
||||||
self.COLUMN_CONFIG[ha_name]["address"]
|
self.COLUMN_CONFIG[ha_name]["address"]
|
||||||
].astype(str).str.lower().str.strip()
|
].astype(str).str.lower().str.strip()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue