Commit 469a12fd authored by 赵威's avatar 赵威

update diary fe

parent b362c073
...@@ -378,6 +378,8 @@ def diary_feature_engineering(df): ...@@ -378,6 +378,8 @@ def diary_feature_engineering(df):
diary_df["is_have_reply"] = diary_df["is_have_reply"].astype(int) diary_df["is_have_reply"] = diary_df["is_have_reply"].astype(int)
diary_df["is_related_service"] = diary_df["is_related_service"].astype(int) diary_df["is_related_service"] = diary_df["is_related_service"].astype(int)
diary_df["service_city"] = diary_df["service_city"].fillna("")
diary_df = diary_df[DIARY_COLUMNS] diary_df = diary_df[DIARY_COLUMNS]
print("diary: " + str(diary_df.shape)) print("diary: " + str(diary_df.shape))
......
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