Commit feb18264 authored by 赵威's avatar 赵威

null fill for channel_first

parent c72f4f72
...@@ -68,6 +68,7 @@ def device_feature_engineering(device_df, content_type): ...@@ -68,6 +68,7 @@ def device_feature_engineering(device_df, content_type):
df["city_first"] = df["city_first"].fillna("") df["city_first"] = df["city_first"].fillna("")
df["model_first"] = df["model_first"].fillna("") df["model_first"] = df["model_first"].fillna("")
df["channel_first"] = df["channel_first"].fillna("")
df["click_diary_id1"] = df["click_diary_id1"].astype(str) df["click_diary_id1"] = df["click_diary_id1"].astype(str)
df["click_diary_id2"] = df["click_diary_id2"].astype(str) df["click_diary_id2"] = df["click_diary_id2"].astype(str)
......
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