Commit 5b1854e8 authored by 张彦钊's avatar 张彦钊

增加排序

parent b86483fe
...@@ -52,6 +52,7 @@ def ctr_all(): ...@@ -52,6 +52,7 @@ def ctr_all():
df = pd.DataFrame() df = pd.DataFrame()
df['id'] = id df['id'] = id
df['number'] = number df['number'] = number
df = df.sort_values(by = "number",ascending=False)
df.to_csv(DIRECTORY_PATH+"exp.csv",index=None) df.to_csv(DIRECTORY_PATH+"exp.csv",index=None)
......
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