From 06551bff104b6e711bc0ce397a9cc2fee424cabe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E8=89=B3?= Date: Tue, 11 Nov 2025 17:23:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/office/rent/base_price.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dags/office/rent/base_price.py b/dags/office/rent/base_price.py index 8250ce8..f11a556 100644 --- a/dags/office/rent/base_price.py +++ b/dags/office/rent/base_price.py @@ -161,6 +161,8 @@ def update_office(city, office, sample, year_month): office['bed_kind'] = None if 'estate_type2' not in office.columns: office['estate_type2'] = None + if 'alias' not in office.columns: + office['alias'] = None sample_new = sample if 'alias' not in sample_new.columns: sample_new['alias'] = None