This commit is contained in:
shenjian@fangjia.com
2023-03-09 15:25:05 +08:00
parent 9e7d8d1743
commit 4d6145fb89
@@ -115,6 +115,11 @@ def sync(city=None):
lat = commutils.format_lat_lng(item['lat'])
city_now = areautils.get_city_display(item['city'])
price = find_around_price(city_now, lng, lat)
if item['_id'] == '50bd172ae4b0fbe60a6fe628':
print(city_now)
print(lng)
print(lat)
print(price)
if pd.notna(price):
seaweed_df.loc[index, 'avg_cost'] = price
else: