Commit 1752671c authored by 高雅喆's avatar 高雅喆

update

parent e418fb7a
......@@ -93,9 +93,9 @@ def tag_list2dict(lst, size):
def get_user_tag_score(cl_id, all_log_df, gm_kv_cli, size=10):
try:
db_jerry_test = pymysql.connect(host='172.16.40.158', port=4000, user='root', passwd='3SYz54LS9#^9sBvC',
db='jerry_test', charset='utf8')
cur_jerry_test = db_jerry_test.cursor()
# db_jerry_test = pymysql.connect(host='172.16.40.158', port=4000, user='root', passwd='3SYz54LS9#^9sBvC',
# db='jerry_test', charset='utf8')
# cur_jerry_test = db_jerry_test.cursor()
user_log_df = all_log_df.loc[all_log_df['cl_id'] == cl_id]
if not user_log_df.empty:
......
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