08 2023 档案

摘要:import pandas as pdimport numpy as nppath = '产业布局-企业.xlsx'# 详情页链接title = pd.read_excel(path, usecols=[2])title_arr = np.asarray(title.stack()) # Dataf 阅读全文
posted @ 2023-08-28 14:15 布都御魂 阅读(155) 评论(0) 推荐(0)
摘要:def update_biaoqian(tag_list, title): if tag_list==[''] print('没有标签,取标题作为标签') titless = re.sub('\s', ',', title) tag_list = title.replace('、', ',').re 阅读全文
posted @ 2023-08-24 14:16 布都御魂 阅读(32) 评论(0) 推荐(0)
摘要:def del_nt(title_list): title_new = [] for title_old in title_list: title = re.sub('\s', '', title_old) if title == '': pass else: title_new.append(ti 阅读全文
posted @ 2023-08-23 10:43 布都御魂 阅读(14) 评论(0) 推荐(0)