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
cb927786
Commit
cb927786
authored
Jan 07, 2021
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add printer
parent
7c966ec1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
tool.py
eda/smart_rank/tool.py
+1
-4
No files found.
eda/smart_rank/tool.py
View file @
cb927786
...
...
@@ -460,10 +460,7 @@ def get_tag3_user_log(cl_id):
if
data
:
user_df
=
pd
.
DataFrame
(
data
)
print
(
"!!!!!!"
)
print
(
user_df
)
user_df
.
columns
=
columns
print
(
"@@@@@@"
)
else
:
return
pd
.
DataFrame
(
columns
=
columns
)
...
...
@@ -472,10 +469,10 @@ def get_tag3_user_log(cl_id):
user_df
[
"business_tags"
]
=
user_df
[
"business_tags"
]
.
fillna
(
""
)
user_df
[
"selected_stars"
]
=
user_df
[
"selected_stars"
]
.
fillna
(
""
)
user_df
[
"selected_internet_celebrity"
]
=
user_df
[
"selected_internet_celebrity"
]
.
fillna
(
""
)
print
(
user_df
)
return
user_df
except
Exception
as
e
:
print
(
e
)
print
(
"######"
)
return
pd
.
DataFrame
(
columns
=
columns
)
...
...
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