Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

char2id.py 速度太慢了 #6

Open
jefferyship opened this issue Mar 30, 2018 · 1 comment
Open

char2id.py 速度太慢了 #6

jefferyship opened this issue Mar 30, 2018 · 1 comment

Comments

@jefferyship
Copy link

data_process/char2id.py

速度太慢了,居然要耗时7天
for na_index in na_title_indexs:
df_eval.loc[na_index, 'char_title'] = df_eval.loc[na_index, 'char_content']

把loc 改为at 只用了几秒种就完成了

@FinIoT
Copy link

FinIoT commented Apr 17, 2018

的确如此,非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants