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