Commit 0be1621d authored by 张彦钊's avatar 张彦钊

change

parent e807b0bc
......@@ -159,9 +159,9 @@ if __name__ == '__main__':
df = pd.DataFrame(all_list)
df = df.rename(columns={0: "搜索点击", 1: "相关推荐",2:"首页icon",3:"美购首页icon",4: "总点击",
5: "搜索点击cpc", 6: "相关推荐cpc",7:"首页icon_cpc",8:"美购首页icon_cpc",
8:"cpc总点击"})
df = df.rename(columns={0:"日期",1: "搜索点击", 2: "相关推荐",3:"首页icon",4:"美购首页icon",5: "总点击",
6: "搜索点击cpc", 7: "相关推荐cpc",8:"首页icon_cpc",9:"美购首页icon_cpc",
10:"cpc总点击"})
df.to_csv('/home/gmuser/cpc.csv', index=False)
spark.stop()
......
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