mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
handled not recorded different format
This commit is contained in:
parent
f6ff037994
commit
756bf4b720
2 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ costs_by_floor_area = costs_by_floor_area.groupby("current-energy-efficiency")[
|
||||||
epc_data = epc_data[~pd.isnull(epc_data["UPRN"])]
|
epc_data = epc_data[~pd.isnull(epc_data["UPRN"])]
|
||||||
|
|
||||||
sample_epc_data = epc_data[pd.to_datetime(epc_data["LODGEMENT_DATE"]) >= "2015-01-01"].drop_duplicates("UPRN").sample(
|
sample_epc_data = epc_data[pd.to_datetime(epc_data["LODGEMENT_DATE"]) >= "2015-01-01"].drop_duplicates("UPRN").sample(
|
||||||
5000).reset_index(drop=True)
|
10000).reset_index(drop=True)
|
||||||
|
|
||||||
# TODO: In Property find_energy_sources, sort out biomass community heating - what fuel type
|
# TODO: In Property find_energy_sources, sort out biomass community heating - what fuel type
|
||||||
# TODO: We might be able to remove find_energy_sources entirely and remove estimate_electrical_consumption. It's used
|
# TODO: We might be able to remove find_energy_sources entirely and remove estimate_electrical_consumption. It's used
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ DATA_ANOMALY_MATCHES = {
|
||||||
# certificate retrieval process is successfully completed. Mandatory data items cannot be applied
|
# certificate retrieval process is successfully completed. Mandatory data items cannot be applied
|
||||||
# retrospectively to energy certificates lodged before the date of the change.
|
# retrospectively to energy certificates lodged before the date of the change.
|
||||||
"Not recorded",
|
"Not recorded",
|
||||||
|
"Not Recorded",
|
||||||
# The data also contains DECs with an operational rating of ‘9999’ (a ‘default’ DEC). The production of a
|
# The data also contains DECs with an operational rating of ‘9999’ (a ‘default’ DEC). The production of a
|
||||||
# ‘default’ DEC value was allowed to enable building occupiers, with poor quality or no energy data,
|
# ‘default’ DEC value was allowed to enable building occupiers, with poor quality or no energy data,
|
||||||
# the opportunity to comply with the regulations. From April 2011 the ability to lodge a ‘default’ DEC was no
|
# the opportunity to comply with the regulations. From April 2011 the ability to lodge a ‘default’ DEC was no
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue