Commit 1b014ca3 authored by 张彦钊's avatar 张彦钊

修改志伟ctr统计文件

parent a2f09de8
......@@ -25,7 +25,8 @@ def get_data():
cursor.execute(sql)
output = DIRECTORY_PATH + "ffm_get_data_" + get_yesterday_date() + ".csv"
result = cursor.fetchall()
device_id = tuple(pd.DataFrame(list(result))["_1"].values.tolist())
device_id = tuple(pd.DataFrame(list(result))["0"].values.tolist())
print(device_id[0:1])
cursor.close()
return device_id
......
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