Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tool-code
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
tool-code
Commits
6a1ed07e
Commit
6a1ed07e
authored
Dec 29, 2021
by
rico.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c14d7249
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
导出库内参数数据.py
更新库内参数并重新命名/导出库内参数数据.py
+4
-2
No files found.
更新库内参数并重新命名/导出库内参数数据.py
View file @
6a1ed07e
...
...
@@ -210,17 +210,18 @@ def get_point_category_params_data(category):
'''
filter_res = res[list(res.columns)[0:7] + filter_params_col_list]
combine_df = pd.merge(price_df,filter_res,left_on = 'goods_id',right_on = '产品编码',how='left')
combine_df['指数型号不在原始名称中'] = [1 if str(model).strip().upper() not in str(name).upper() else 0 for model,name in zip(combine_df['*产品型号'].tolist(),combine_df['source_goods_name'].tolist())]
combine_df.to_excel(writer,f"{category_sheet_name}数据合并")
print(f"{category_name}数据导出完毕!")
'''
writer
.
save
()
conn_zi_new
.
close
()
category_list
=
category_list
=
[
'
多功能一体机'
,
'激光打印机'
,
'喷墨打印机'
,
'碎纸机'
,
'投影机'
,
'针式打印机'
,
'扫描仪'
,
'高拍仪'
,
'传真设备
'
]
category_list
=
category_list
=
[
'
复印纸
'
]
for
category
in
category_list
:
get_point_category_params_data
(
category
)
\ 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