0

Im working with a Dataframe with two columns. Column A contains rows with one category and column B contains many rows with many words, that are comma-separated.

Column B is being updated often and i want to make sure that in column B there is no duplicate words in each row.

I tried .join(set(text.split(','))) but get the error

TypeError: 'str' object cannot be interpreted as an integer'.

And now im stuck...

Brown Bear
  • 19,655
  • 10
  • 58
  • 76

0 Answers0