i want to remove all duplicate words from the sentences in the 'Word ' column in my dataframe in python. I am new learner
As you can see in the image, i want the data like in iloc[3,1] "do you have to ned ten is too young to see such things all these years and i still feel like an outsider when i come here i wonder if the old gods agree i am so sorry my love gods but they grow fast how many times have i told you no climbing i want you to promise me no more climbing your grace my queen" to remove all duplicates and want to view each unique word in a separate line as output
eg- do
you
have
to
ned ten
is
too
young
see
such
things
all
these
years
and
i
still
feel
like
an
outsider
when
come
here
wonder.......etc , so only unique words should be present.
source https://stackoverflow.com/questions/72792077/i-want-to-remove-all-duplicate-words-from-the-sentences-in-the-word-column-in
Comments
Post a Comment