新增格子均价
This commit is contained in:
@@ -89,7 +89,7 @@ def sync(city):
|
|||||||
if len(comm_info_estate_type_df) > 0:
|
if len(comm_info_estate_type_df) > 0:
|
||||||
price_info = dict()
|
price_info = dict()
|
||||||
price_info['type'] = 'district'
|
price_info['type'] = 'district'
|
||||||
price_info['secondly_type'] = estate_type
|
price_info['secondary_type'] = estate_type
|
||||||
price_info['price'] = int(comm_info_estate_type_df['avg_price'].mean())
|
price_info['price'] = int(comm_info_estate_type_df['avg_price'].mean())
|
||||||
price_list.append(price_info)
|
price_list.append(price_info)
|
||||||
if len(price_list) > 0:
|
if len(price_list) > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user