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
0943557e
Commit
0943557e
authored
May 21, 2020
by
任婷婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2490db6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
test_divided_portrait.py
eda/smart_rank/test_divided_portrait.py
+13
-4
No files found.
eda/smart_rank/test_divided_portrait.py
View file @
0943557e
...
...
@@ -3,11 +3,20 @@ import pandas as pd
import
datetime
# def get_jerry_test():
# db = pymysql.connect(host="bj-cdb-6slgqwlc.sql.tencentcdb.com",
# port=62120,
# user="work",
# passwd="Gengmei1",
# db="jerry_test",
# charset="utf8")
# return db, db.cursor()
def
get_jerry_test
():
db
=
pymysql
.
connect
(
host
=
"
bj-cdb-6slgqwlc.sql.tencentcdb.com
"
,
port
=
6212
0
,
user
=
"
work
"
,
passwd
=
"
Gengmei1
"
,
db
=
pymysql
.
connect
(
host
=
"
172.16.40.170
"
,
port
=
400
0
,
user
=
"
st_user
"
,
passwd
=
"
aqpuBLYzEV7tML5RPsN1pntUzFy
"
,
db
=
"jerry_test"
,
charset
=
"utf8"
)
return
db
,
db
.
cursor
()
...
...
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