Hi! I am trying to use a loop node to remove a list of words from a data column, but I am having a little trouble.
I have a string column called “Treated data” with >700k rows and I want to remove specific words from it. When they were only 2 or 3 words I was using the string manipulation node with the function:
replace($Treated data$, “WORD_1”, “”), then replace($Treated data$, “WORD_2”, “”) and so on, but now I need to remove about 50 words.
I created a second table with all the words I want to remove and I tried using the Table Row to Variable Loop Start and then the String Manipulation node with the function:
replace($Treated data$, $${Word}$$, “”),
but the output has concatenated rows of each iteration individually, and what I need is the String manipulation node to act on the result of the previous iteration.
Is “Recursive loop” the node I need? How do I configure it so it (recursively) goes through every possible value in my word list?
Thank you very much in advance,
Alicia