Commit 7ff9c247 authored by 张彦钊's avatar 张彦钊

生成native\nearby csv文件

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