mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixing estimate_n_floors on asset list creation
This commit is contained in:
parent
c9d733d76e
commit
6645218563
1 changed files with 2 additions and 2 deletions
|
|
@ -104,9 +104,9 @@ def make_asset_list():
|
|||
if address_base_property_description == "Self Contained Flat (Includes Maisonette / Apartment)":
|
||||
if epc_property_type == "Flat":
|
||||
return 1
|
||||
if epc_property_type == "House":
|
||||
if epc_property_type == "Maisonette":
|
||||
return 2
|
||||
return NotImplementedError("Implement me")
|
||||
raise NotImplementedError("Implement me")
|
||||
|
||||
if pd.isnull(floor_height):
|
||||
return np.round(building_height / AVG_FLOOR_HEIGHT)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue