Commit 2358c103 authored by 张彦钊's avatar 张彦钊

change test file

parent 83894c6b
...@@ -207,7 +207,7 @@ if __name__ == "__main__": ...@@ -207,7 +207,7 @@ if __name__ == "__main__":
if len(total_samples) > 0: if len(total_samples) > 0:
df = pd.DataFrame(total_samples) df = pd.DataFrame(total_samples)
df = df.rename(columns={0: "device_id", 1: "city_id",2:"native_queue", df = df.rename(columns={0: "device_id", 1: "city_id",2:"native_queue",
3:"nearby_queue",4:"nation_queue",5:", megacity_queue",6:"time"}) 3:"nearby_queue",4:"nation_queue",5:"megacity_queue",6:"time"})
print(df.head(2)) print(df.head(2))
to_data_base(df) to_data_base(df)
print("good boy") print("good boy")
......
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