Commit 9d0b5928 authored by 张彦钊's avatar 张彦钊

change test file

parent 2358c103
......@@ -154,8 +154,7 @@ def tag_boost(cid_str, tag_list):
def to_data_base(df2):
device_count = df2.shape[0]
con = pymysql.connect(host='172.16.40.158', port=4000, user='root', passwd='3SYz54LS9#^9sBvC', db='jerry_test',
charset='utf8')
con = pymysql.connect(host='172.16.40.158', port=4000, user='root', passwd='3SYz54LS9#^9sBvC', db='jerry_test')
cur = con.cursor()
for i in range(0, device_count):
query = """INSERT INTO esmm_resort_diary_queue (device_id, city_id, native_queue,nearby_queue,
......
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