mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added line to remove park homes
This commit is contained in:
parent
210b79242d
commit
dd90e280ca
1 changed files with 5 additions and 0 deletions
|
|
@ -420,6 +420,11 @@ class DataProcessor:
|
|||
self.data = self.data[~pd.isnull(self.data["HOTWATER_DESCRIPTION"])]
|
||||
self.data = self.data[~pd.isnull(self.data["ROOF_DESCRIPTION"])]
|
||||
|
||||
# Because park homes are surveyed unusually (for example, we don't have u-values to
|
||||
# look up for their different components, they need to be collected in survey and aren't reflected in
|
||||
# EPCs) we'll ignore them from the model
|
||||
self.data = self.data[self.data["PROPERTY_TYPE"] != "Park home"]
|
||||
|
||||
def clean_multi_glaze_proportion(self) -> None:
|
||||
"""
|
||||
If there is no multi-glaze proportion but the windows are fully glazed, then we should assume a score of 100
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue