Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_strategy_cvr
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
gm_strategy_cvr
Commits
17b5c5c8
Commit
17b5c5c8
authored
Jul 30, 2020
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update df size
parent
6f03163c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tractate_fe.py
src/models/esmm/fe/tractate_fe.py
+1
-2
No files found.
src/models/esmm/fe/tractate_fe.py
View file @
17b5c5c8
...
...
@@ -27,8 +27,7 @@ def read_csv_data(dataset_path):
tractate_df
=
pd
.
read_csv
(
dataset_path
.
joinpath
(
"tractate.csv"
),
sep
=
"|"
)
click_df
=
pd
.
read_csv
(
dataset_path
.
joinpath
(
"tractate_click.csv"
),
sep
=
"|"
)
conversion_df
=
pd
.
read_csv
(
dataset_path
.
joinpath
(
"tractate_click_cvr.csv"
),
sep
=
"|"
)
# TODO
return
tractate_df
.
sample
(
5000
),
click_df
.
sample
(
10000
),
conversion_df
return
tractate_df
,
click_df
,
conversion_df
def
get_tractate_from_redis
():
...
...
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