Quotation marks on lemmatization after read file with Pandas #9768
Answered
by
polm
k4waiiiii
asked this question in
Help: Coding & Implementations
-
Beta Was this translation helpful? Give feedback.
Answered by
polm
Nov 30, 2021
Replies: 1 comment 3 replies
-
It looks like the contents of your You can make them the same by converting the spaCy tokens to strings. Note this isn't really a spaCy specific issue. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
k4waiiiii
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like the contents of your
tokenizing
column are Tokens, while the contents of yourlemmatization
column are strings. These are displayed differently because of the wayrepr
works in Python - it renders strings with single quotes, and spaCy tokens just print the text.You can make them the same by converting the spaCy tokens to strings.
Note this isn't really a spaCy specific issue.