Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
0be1621d
Commit
0be1621d
authored
Oct 12, 2019
by
张彦钊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change
parent
e807b0bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
meigou.py
local/meigou.py
+3
-3
No files found.
local/meigou.py
View file @
0be1621d
...
@@ -159,9 +159,9 @@ if __name__ == '__main__':
...
@@ -159,9 +159,9 @@ if __name__ == '__main__':
df
=
pd
.
DataFrame
(
all_list
)
df
=
pd
.
DataFrame
(
all_list
)
df
=
df
.
rename
(
columns
=
{
0
:
"搜索点击"
,
1
:
"相关推荐"
,
2
:
"首页icon"
,
3
:
"美购首页icon"
,
4
:
"总点击"
,
df
=
df
.
rename
(
columns
=
{
0
:
"日期"
,
1
:
"搜索点击"
,
2
:
"相关推荐"
,
3
:
"首页icon"
,
4
:
"美购首页icon"
,
5
:
"总点击"
,
5
:
"搜索点击cpc"
,
6
:
"相关推荐cpc"
,
7
:
"首页icon_cpc"
,
8
:
"美购首页icon_cpc"
,
6
:
"搜索点击cpc"
,
7
:
"相关推荐cpc"
,
8
:
"首页icon_cpc"
,
9
:
"美购首页icon_cpc"
,
8
:
"cpc总点击"
})
10
:
"cpc总点击"
})
df
.
to_csv
(
'/home/gmuser/cpc.csv'
,
index
=
False
)
df
.
to_csv
(
'/home/gmuser/cpc.csv'
,
index
=
False
)
spark
.
stop
()
spark
.
stop
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment