-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"RuntimeError: Either words
or rawWords
must be filled" using add_doc
sometimes
#161
Comments
words
or rawWords
must be filled using add_doc
sometimesRuntimeError: Either
words or
rawWords must be filled
using add_doc
sometimes
RuntimeError: Either
words or
rawWords must be filled
using add_doc
sometimeswords
or rawWords
must be filled" using add_doc
sometimes
Hi @batmanscode , |
@bab2min |
@batmanscode df['clean_text'].apply(lambda x:bool(x.strip())).value_counts() |
Ah this makes sense, thanks you. There are indeed empty values here. Are there some ways to get tomotopy to skip these? It's not really a problem to remove, but just curious |
@batmanscode Currently, |
@bab2min Agreed. Would be a nice quality of life feature to have |
I have text in a dataframe and was adding it in like this:
This works fine
However, when I tried to remove stopwords before using
add_doc
I get the error in the titleI'm doing the preprocessing using texthero like this:
Side note: maybe this could be built into tomotopy using texthero
The text was updated successfully, but these errors were encountered: