Commit bff7f495 authored by 张彦钊's avatar 张彦钊

add

parent 9cd6a399
......@@ -42,6 +42,12 @@ def name_short():
name = re.sub(word, '', name)
# 去除\t
name = re.sub(r'\t', "", name)
# 去除 中文括号( )
name = re.sub(r'\(.*?\)', '', name)
# 去除 英文括号( )
name = re.sub(r'\(.*?\)', '', name)
# 去除 左英文括号,右中文括号
name = re.sub(r'\(.*?\)', '', name)
new_names.append(name)
df = pd.DataFrame()
df['old_name'] = name_list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment