优化包安装
This commit is contained in:
@@ -76,7 +76,6 @@ def find_around_by_location(city, location):
|
||||
|
||||
|
||||
def deal(city, lng, lat):
|
||||
print('开始查找' + city + '周边银行')
|
||||
if lng != None:
|
||||
location = [lng, lat]
|
||||
bank_df = find_around_by_location(city, location)
|
||||
@@ -84,6 +83,7 @@ def deal(city, lng, lat):
|
||||
return []
|
||||
|
||||
|
||||
print('开始查找' + city + '周边银行')
|
||||
seaweed_df['bank'] = seaweed_df.apply(lambda x: deal(x['city'], x['lng'], x['lat']), axis=1)
|
||||
|
||||
actions = list()
|
||||
|
||||
Reference in New Issue
Block a user