Commit 16afa9d6 authored by 张彦钊's avatar 张彦钊

add print

parent afc0b154
...@@ -140,6 +140,7 @@ def merge_score(x_list, score_df): ...@@ -140,6 +140,7 @@ def merge_score(x_list, score_df):
result = cursor.fetchall() result = cursor.fetchall()
score = pd.DataFrame(list(result)) score = pd.DataFrame(list(result))
print("数据库日记表前十行") print("数据库日记表前十行")
print(score.head(10))
score_list = score[0].values.tolist() score_list = score[0].values.tolist()
db.close() db.close()
......
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