added mountview and more uprns to excclusions

|
This commit is contained in:
Khalim Conn-Kowlessar 2024-08-20 18:52:52 +01:00
parent 061ecb2c4a
commit a153de51c3
2 changed files with 22 additions and 2 deletions

View file

@ -4,9 +4,28 @@ OWNERS_WHO_CANT_SELL = [
"4483430",
# Ultrabarn - they're unwilling to sell and will sort any retrofits themselves
"2794851"
# Mountview - Anna spoke with someone from Mounview - they acquire tenancies and sell them as soon as they become
# vacant. They have no immediate opportunities but we may come back and remove this
"328090"
]
EXCLUDED_UPRNS = [
# This property no longer exists
200003827624
200003827624,
# This property doesn't seem to exist
90070698,
# Can't really find a solid record on Zoopla/Rightmove
10090437990,
# This property doesn't seem to exist
100070902790,
# This property doesn't seem to exist
100070902791,
# This property doesn't seem to exist
100031997775,
# Can't find reliable information to this property on zoopla/rightmove
200001372608,
# Can't find reliable information to this property on zoopla/rightmove
100031592801,
# Can't find reliable information to this property on zoopla/rightmove
100031579087,
]

View file

@ -166,7 +166,8 @@ def app():
# We read in the current valuation data and identify if there are any uprns that need to be added
previous_valuations = pd.read_excel(
"/Users/khalimconn-kowlessar/Documents/hestia/Customers/sfr/sfr property valuations.xlsx")
asset_list[~asset_list["uprn"].astype(str).isin(previous_valuations["uprn"].astype(str))]
missed = asset_list[~asset_list["uprn"].astype(str).isin(previous_valuations["uprn"].astype(str))]
missed.to_csv("missed_valuations.csv")
# We now need a distinct step to prepare final outputs
portfolio_timestamp = "2024-08-20 15:51:10.292075"