Commit 82ab87d7 authored by 张彦钊's avatar 张彦钊

delete drop devcie_id

parent af6588cd
...@@ -71,7 +71,6 @@ def get_data(): ...@@ -71,7 +71,6 @@ def get_data():
temp = list(range(1,len(unique_values)+1)) temp = list(range(1,len(unique_values)+1))
value_map = dict(zip(unique_values,temp)) value_map = dict(zip(unique_values,temp))
df = df.drop("device_id", axis=1)
train = df[df["stat_date"] != validate_date+"stat_date"] train = df[df["stat_date"] != validate_date+"stat_date"]
test = df[df["stat_date"] == validate_date+"stat_date"] test = df[df["stat_date"] == validate_date+"stat_date"]
for i in ["ucity_id", "clevel1_id", "ccity_name", "device_type", "manufacturer", for i in ["ucity_id", "clevel1_id", "ccity_name", "device_type", "manufacturer",
......
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