fix bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user