diff --git a/dags/business/business/community/avg_cost.py b/dags/business/business/community/avg_cost.py index 8a3198a..f47f70f 100644 --- a/dags/business/business/community/avg_cost.py +++ b/dags/business/business/community/avg_cost.py @@ -132,7 +132,7 @@ def sync(city=None): lng = commutils.format_lat_lng(item['lng']) lat = commutils.format_lat_lng(item['lat']) price = find_around_price(lng, lat) - if price > 0: + if pd.notna(price): seaweed_df.loc[index, 'avg_cost'] = price else: seaweed_df.loc[index, 'avg_cost'] = None