Commit efd3cc59 authored by 张彦钊's avatar 张彦钊

生成native\nearby csv文件

parent 7ff9c247
......@@ -150,13 +150,13 @@ def get_predict(date,value_map):
print("native")
print(native_pre.shape)
print(native_pre.head())
native_pre.to_csv(path+"native.csv",index=False)
native_pre.to_csv(path+"native.csv",sep="\t",index=False)
write_csv(native_pre, "native",200000)
print("nearby")
print(nearby_pre.shape)
print(nearby_pre.head())
nearby_pre.to_csv(path+"nearby.csv",index=False)
nearby_pre.to_csv(path+"nearby.csv",sep="\t",index=False)
write_csv(nearby_pre, "nearby", 160000)
......
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