How to remove a list from another one ?

Hi @tttpham , this was a challenge I looked into a couple of weeks ago.

I could not find a way in Knime nodes where it could remove only 1 instance of an element. Knime would remove all instances of the element as you found out.

I used a Python script to achieve this. The trick is to use list.remove() as it allows you to remove only 1 occurrence of it.

Check out this thread for more details and sample workflow:

2 Likes