Commit 02e74bd7 authored by 赵威's avatar 赵威

add printer

parent cb927786
......@@ -464,6 +464,7 @@ def get_tag3_user_log(cl_id):
else:
return pd.DataFrame(columns=columns)
print(user_df)
user_df["days_diff_now"] = round((int(time.time()) - user_df["log_time"].astype(float)) / (24 * 60 * 60))
user_df["tag_score"] = user_df.apply(lambda x: compute_tag3_score(x), axis=1)
user_df["business_tags"] = user_df["business_tags"].fillna("")
......
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