Skip to content

bert align_bert_tokens_to_corpus_tokens fails with Pandas 1.2.0 #163

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

Closed
BryanCutler opened this issue Jan 14, 2021 · 2 comments
Closed

bert align_bert_tokens_to_corpus_tokens fails with Pandas 1.2.0 #163

BryanCutler opened this issue Jan 14, 2021 · 2 comments

Comments

@BryanCutler
Copy link
Member

bert.align_bert_tokens_to_corpus_tokens() fails with Pandas 1.2.0 due to the error described here:

#157 (comment)

@frreiss
Copy link
Member

frreiss commented Mar 19, 2021

Note: We currently have a workaround in place for this problem, but the workaround involves monkey-patching parts of Pandas' __repr__.

@BryanCutler
Copy link
Member Author

This was actually due to an error aggregation on extension arrays which I fixed upstream at pandas-dev/pandas#38982 and is in v1.2.1. We can close this now.

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