Commit e21cc5af authored by 张彦钊's avatar 张彦钊

remove worldwide

parent a83f46f0
...@@ -19,6 +19,7 @@ def get_cityList(): ...@@ -19,6 +19,7 @@ def get_cityList():
cityList = con_sql(sql) cityList = con_sql(sql)
cityList.to_csv(DIRECTORY_PATH+"diaryTestSet/cityList.csv") cityList.to_csv(DIRECTORY_PATH+"diaryTestSet/cityList.csv")
cityList = cityList[0].values.tolist() cityList = cityList[0].values.tolist()
cityList.remove('worldwide')
print("成功获取全国城市列表") print("成功获取全国城市列表")
return cityList return cityList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment