Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
重
重点类信息提取
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ZGC_INDEX
重点类信息提取
Commits
01fec845
Commit
01fec845
authored
Apr 01, 2021
by
rico.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e6658a7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
校验参数数据.py
公共代码/校验参数数据.py
+3
-3
No files found.
公共代码/校验参数数据.py
View file @
01fec845
...
@@ -17,9 +17,9 @@ def check_data(category_name,path):
...
@@ -17,9 +17,9 @@ def check_data(category_name,path):
df
=
df
.
rename
(
columns
=
{
'Unnamed: 0'
:
'id'
})
df
=
df
.
rename
(
columns
=
{
'Unnamed: 0'
:
'id'
})
#
if '无参数,需补充' in df.values:
if
'无参数,需补充'
in
df
.
values
:
#
print("仍有参数未补充,请补充完整后再继续处理。")
print
(
"仍有参数未补充,请补充完整后再继续处理。"
)
#
return False
return
False
#创建新产品库链接
#创建新产品库链接
conn_zi_new
=
pymssql
.
connect
(
host
=
'123.56.115.207'
,
user
=
'zgcprice3311'
,
password
=
'zgcprice20200628'
,
database
=
'ZI_NEW'
,
autocommit
=
True
)
conn_zi_new
=
pymssql
.
connect
(
host
=
'123.56.115.207'
,
user
=
'zgcprice3311'
,
password
=
'zgcprice20200628'
,
database
=
'ZI_NEW'
,
autocommit
=
True
)
...
...
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