Commit 26fc2796 authored by 王志伟's avatar 王志伟

测试知识图谱的数据,测试60天

parent 6245022e
......@@ -74,8 +74,7 @@ def get_data():
print("after")
df = df.drop_duplicates()
df = df.drop_duplicates(["ucity_id", "clevel2_id", "ccity_name", "device_type", "manufacturer",
"channel", "top", "time", "stat_date","app_list","hospital_id","level3_ids",
"method","min","max","treatment_time","maintain_time","recover_time"])
"channel", "top", "time", "stat_date","app_list","hospital_id","level3_ids"])
app_list_number,app_list_map = multi_hot(df,"app_list",2)
level2_number,level2_map = multi_hot(df,"clevel2_id",2+app_list_number)
......
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