Commit 758ee043 authored by 张彦钊's avatar 张彦钊

add print

parent b9a7c4ab
......@@ -135,8 +135,8 @@ def merge_score(x_list, score_df):
cursor.execute(sql)
result = cursor.fetchall()
print("获取成功")
score_list = list(result)
print(score_list)
score_list = pd.DataFrame(list(result))[0].values.tolist()
#score_list = []
# for i in x_list:
# sql = "select score from biz_feed_diary_score where diary_id = '{}';".format(i)
......
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