DisplaCy for Dataframe #10800
Unanswered
BenWaka
asked this question in
Help: Coding & Implementations
Replies: 1 comment 2 replies
-
Like the error says, you can only pass Docs or Spans to displacy. I'm not sure where your data is but you need to get it out of the dataframe to give it to spaCy. spaCy has no special integration with dataframes. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
how can I visualize using displaCy in a dataframe? I have a data called "taks_output" and want to visualize a sample of the columm "msg_lower"? What I did:
And i get this: "Invalid object passed to displaCy: Can only visualize Doc or Span objects, or dicts if set to manual=True."
What can i do?
Beta Was this translation helpful? Give feedback.
All reactions