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
14b33f59
Commit
14b33f59
authored
Nov 12, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20191111用户行为日志
parent
681909bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gyz_test.py
eda/smart_rank/gyz_test.py
+1
-1
No files found.
eda/smart_rank/gyz_test.py
View file @
14b33f59
...
...
@@ -69,7 +69,7 @@ device_info = []
# sql: select cl_id, collect_set(params["query"]) from bl_hdfs_maidian_updates where partition_date="20191111" and action="do_search" group by cl_id
with
open
(
"/home/gmuser/gyz/log/have_search_device_20191111.csv"
,
"r"
)
as
f
:
for
line
in
f
.
readlines
():
data
=
line
.
strip
()
.
split
(
"
=
"
)
data
=
line
.
strip
()
.
split
(
"
gyz
"
)
device
=
data
[
0
]
search_words
=
eval
(
data
[
1
])
device_info
.
append
([
device
,
search_words
])
...
...
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