Commit dfd3139e authored by 郭羽's avatar 郭羽

美购精排模型

parent dc29eb10
......@@ -52,6 +52,7 @@ def csvTypeConvert(columns,df,data_vocab):
for k in columns:
# 离散na值填充
if data_vocab.get(k):
if k == "item_first_solutions__1":
print(set(df[k].tolist()))
df[k] = df[k].fillna("-1")
df[k] = df[k].astype("string")
......
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