修改bug
This commit is contained in:
@@ -161,6 +161,8 @@ def update_office(city, office, sample, year_month):
|
|||||||
office['bed_kind'] = None
|
office['bed_kind'] = None
|
||||||
if 'estate_type2' not in office.columns:
|
if 'estate_type2' not in office.columns:
|
||||||
office['estate_type2'] = None
|
office['estate_type2'] = None
|
||||||
|
if 'alias' not in office.columns:
|
||||||
|
office['alias'] = None
|
||||||
sample_new = sample
|
sample_new = sample
|
||||||
if 'alias' not in sample_new.columns:
|
if 'alias' not in sample_new.columns:
|
||||||
sample_new['alias'] = None
|
sample_new['alias'] = None
|
||||||
|
|||||||
Reference in New Issue
Block a user