You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For legacy reasons, the functions extract_dict() and extract_regex_tok() in spanner/extract.py return single-column DataFrames. These functions should return TokenSpanArray objects instead. Users who want a DataFrame can construct one on top of the returned array.
In addition to the testing code in test_extract.py, there is some downstream code in the notebooks that will need to be modified to deal with this API change.
The text was updated successfully, but these errors were encountered:
Thanks for your interest, @lvntky! We'd be happy to have you work on this issue. You may want to wait for the pull request #207, which contains other changes to spanner/extract.py, to be merged.
sorry for the delay @frreiss i cant look the GitHub for the two days I was very busy at the job. but if there anything that I can help please inform me. I really like the project. Best wishes!
For legacy reasons, the functions
extract_dict()
andextract_regex_tok()
inspanner/extract.py
return single-column DataFrames. These functions should returnTokenSpanArray
objects instead. Users who want a DataFrame can construct one on top of the returned array.In addition to the testing code in
test_extract.py
, there is some downstream code in the notebooks that will need to be modified to deal with this API change.The text was updated successfully, but these errors were encountered: