diff --git a/dags/business/business/community/full_name.py b/dags/business/business/community/full_name.py index b58c223..91a8778 100644 --- a/dags/business/business/community/full_name.py +++ b/dags/business/business/community/full_name.py @@ -28,8 +28,8 @@ def deal(actions, x): if pd.notna(x['city']) and pd.notna(x['region']): if x['city'] + x['region'] in short_map: short_info = short_map[x['city'] + x['region']] - x['city'] = short_info.split('|')[0] - x['region'] = short_info.split('|')[1] + doc_info['city'] = short_info.split('|')[0] + doc_info['region'] = short_info.split('|')[1] action_doc = { "_op_type": "update",