Commit 20747d1a authored by 张彦钊's avatar 张彦钊

增加编码格式

parent 3875954f
...@@ -55,7 +55,7 @@ def get_data(): ...@@ -55,7 +55,7 @@ def get_data():
def transform(df): def transform(df):
model = multiFFMFormatPandas() model = multiFFMFormatPandas()
df = model.fit_transform(df, y="y", n=80000, processes=20) df = model.fit_transform(df, y="y", n=80000, processes=10)
df = pd.DataFrame(df) df = pd.DataFrame(df)
df["stat_date"] = df[0].apply(lambda x: x.split(",")[0]) df["stat_date"] = df[0].apply(lambda x: x.split(",")[0])
df["device_id"] = df[0].apply(lambda x: x.split(",")[1]) df["device_id"] = df[0].apply(lambda x: x.split(",")[1])
......
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