This commit is contained in:
2025-08-20 12:32:28 +08:00
parent e5d39afc20
commit ece4633ab1
+2
View File
@@ -157,6 +157,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 sample.empty:
return
sample_new = sample
if 'alias' not in sample_new.columns:
sample_new['alias'] = None