Commit 91d24739 authored by 张彦钊's avatar 张彦钊

add print

parent 7dc050e7
...@@ -143,6 +143,7 @@ def get_predict(date,value_map,app_list_map,level2_map): ...@@ -143,6 +143,7 @@ def get_predict(date,value_map,app_list_map,level2_map):
10: "device_id", 11: "cid_id", 12: "time",13:"app_list"}) 10: "device_id", 11: "cid_id", 12: "time",13:"app_list"})
df["stat_date"] = date df["stat_date"] = date
print(df.head(6))
df["app_list"] = df["app_list"].fillna("lost_na") df["app_list"] = df["app_list"].fillna("lost_na")
df["app_list"] = df["app_list"].apply(app_list_func,args=(app_list_map,)) df["app_list"] = df["app_list"].apply(app_list_func,args=(app_list_map,))
df["clevel2_id"] = df["clevel2_id"].fillna("lost_na") df["clevel2_id"] = df["clevel2_id"].fillna("lost_na")
......
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