fixing estimate_n_floors on asset list creation

This commit is contained in:
Khalim Conn-Kowlessar 2024-08-05 16:55:41 +01:00
parent c9d733d76e
commit 6645218563

View file

@ -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)