Commit db83ebd3 authored by 赵晨's avatar 赵晨

搜索推荐ctr

parent 2c37208a
...@@ -79,7 +79,7 @@ def ctr(): ...@@ -79,7 +79,7 @@ def ctr():
def rate2file(): def rate2file():
output_path = DIRECTORY_PATH + "56ctr.csv" output_path = DIRECTORY_PATH + "search_ctr.csv"
with open(output_path,'a+') as f: with open(output_path,'a+') as f:
line = date.replace('-', '')+','+str(temp_data[0])+','+str(temp_data[1])+','+str(temp_data[2])+\ line = date.replace('-', '')+','+str(temp_data[0])+','+str(temp_data[1])+','+str(temp_data[2])+\
","+str(data[0])+","+str(data[1])+","+str(data[2])+","+str(data[3])+","+str(data[4])\ ","+str(data[0])+","+str(data[1])+","+str(data[2])+","+str(data[3])+","+str(data[4])\
......
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