mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
minor tidy
This commit is contained in:
parent
a22db51be9
commit
e410e8d9c8
1 changed files with 0 additions and 13 deletions
|
|
@ -1,12 +1,8 @@
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from docutils.nodes import table
|
|
||||||
|
|
||||||
|
|
||||||
def years_between(d1, d2):
|
def years_between(d1, d2):
|
||||||
# precise year difference (accounts for months/days)
|
# precise year difference (accounts for months/days)
|
||||||
|
|
@ -35,15 +31,6 @@ def append_result(decent_homes_meta, criteria, variable, sub_variable, result, i
|
||||||
folder = "/Users/khalimconn-kowlessar/Documents/hestia/Customers/Waltham Forest/Decent Homes Pilot"
|
folder = "/Users/khalimconn-kowlessar/Documents/hestia/Customers/Waltham Forest/Decent Homes Pilot"
|
||||||
filenames = ["flat 1.json", "house 1.json"]
|
filenames = ["flat 1.json", "house 1.json"]
|
||||||
|
|
||||||
houses_waltham_forest_data = pd.read_excel(
|
|
||||||
os.path.join(folder, "LBWF - Example Asset Data September 2025.xlsx"),
|
|
||||||
sheet_name="Houses Asset Data"
|
|
||||||
)
|
|
||||||
flats_waltham_forest_data = pd.read_excel(
|
|
||||||
os.path.join(folder, "LBWF - Example Asset Data September 2025.xlsx"),
|
|
||||||
sheet_name="CHINGFORD ROAD 236-254 Asset Bl"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Standardised variables which will form the enums in the db
|
# Standardised variables which will form the enums in the db
|
||||||
HHSRS_VARIABLES = [
|
HHSRS_VARIABLES = [
|
||||||
"damp_and_mould_growth",
|
"damp_and_mould_growth",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue