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

Error in running the notebook #56

Open
imirzadeh opened this issue May 19, 2022 · 0 comments
Open

Error in running the notebook #56

imirzadeh opened this issue May 19, 2022 · 0 comments

Comments

@imirzadeh
Copy link

I think the code for extracting the year assumes a CONF'YEAR format which is not true for cases like ACL'21 Findings. As a result, when the code tries to convert 21 Findings to year, we will see an error. I think a fix would be:

t0['year'] = t0['Conference'].str.split("'").str[1].astype(str).apply(lambda x: x.split(" ")[0]).astype(int)

If my time allows, I will submit a pull request. But for now, I think people can easily replace this line.

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

1 participant