mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Handling warning for regex searching of (subject to ciga)
This commit is contained in:
parent
f03485d4f4
commit
c1a15052f2
1 changed files with 1 additions and 1 deletions
|
|
@ -2329,7 +2329,7 @@ class DataLoader:
|
|||
asset_list = asset_list.merge(survey_list_to_merge, how='left', on="asset_list_row_id")
|
||||
# Update the cases where properties have sold, but are missing a CIGA check
|
||||
asset_list["ECO Eligibility"] = np.where(
|
||||
(asset_list["ECO Eligibility"].str.contains("(subject to ciga)")) & (
|
||||
(asset_list["ECO Eligibility"].str.contains("subject to ciga")) & (
|
||||
asset_list["has_a_survey_record"] == True
|
||||
),
|
||||
"eco4 - passed ciga",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue