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
cfd2ec69
Commit
cfd2ec69
authored
Apr 08, 2021
by
rico.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新进度条bug
parent
38bb2227
Changes
1
Show 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 @
cfd2ec69
...
@@ -20,13 +20,13 @@ def ComplicatedDataDict(path):
...
@@ -20,13 +20,13 @@ def ComplicatedDataDict(path):
df
=
pd
.
read_excel
(
path
)
df
=
pd
.
read_excel
(
path
)
process_index
=
0
process_index
=
0
index
=
Index
()
index
_
=
Index
()
for
index
,
row
in
df
.
iterrows
():
for
index
,
row
in
df
.
iterrows
():
try
:
try
:
print
(
index
(
process_index
,
len
(
df
)
-
1
),
end
=
'
%
'
)
print
(
index
_
(
process_index
,
len
(
df
)
-
1
),
end
=
'
%
'
)
except
:
except
:
print
(
index
(
process_index
,
1
),
end
=
'
%
'
)
print
(
index
_
(
process_index
,
1
),
end
=
'
%
'
)
process_index
+=
1
process_index
+=
1
cursor_zi_new
.
execute
(
f
"update ShuJuZiDian_Cfg set stdvalue = '{row['stdvalue']}',simplevalue = '{row['simplevalue']}' where id = {row['id']}"
)
cursor_zi_new
.
execute
(
f
"update ShuJuZiDian_Cfg set stdvalue = '{row['stdvalue']}',simplevalue = '{row['simplevalue']}' where id = {row['id']}"
)
...
...
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