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
8b34e230
Commit
8b34e230
authored
Apr 02, 2021
by
rico.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add type converters str(row['subtitle'])
parent
0763ba2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
更新库内产品数据.py
公共代码/更新库内产品数据.py
+4
-3
No files found.
公共代码/更新库内产品数据.py
View file @
8b34e230
...
@@ -303,7 +303,7 @@ def upload_params_data(category,path):
...
@@ -303,7 +303,7 @@ def upload_params_data(category,path):
for
subtitle
in
subtitle_list
:
for
subtitle
in
subtitle_list
:
value
=
row
[
subtitle
]
.
strip
()
value
=
str
(
row
[
subtitle
])
.
strip
()
subtitleid
=
subtitle_id_dict
[
subtitle
]
subtitleid
=
subtitle_id_dict
[
subtitle
]
subtitle_type
=
subtitle_type_dict
[
subtitle
]
subtitle_type
=
subtitle_type_dict
[
subtitle
]
...
@@ -396,7 +396,7 @@ def upload_params_data(category,path):
...
@@ -396,7 +396,7 @@ def upload_params_data(category,path):
print
(
f
"{category_name}参数数据更新完成,命名完成"
)
print
(
f
"{category_name}参数数据更新完成,命名完成"
)
category_name
=
'
复印纸
'
category_name
=
'
激光打印机
'
path
=
'/Users/rico/
Work Space/1_Project/Company/中电中采/数据处理项目_重点类信息提取/复印纸修改0329
.xlsx'
path
=
'/Users/rico/
Downloads/2 汪伟(校验通过)激光打印机参数确认
.xlsx'
upload_params_data
(
category_name
,
path
)
upload_params_data
(
category_name
,
path
)
\ No newline at end of file
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