Grasshopper removing certain branches of a data tree

Hi
How can I remove certain branches of a data tree as below:
I would like to remove branches 0 and 2

thanks
tree%20data

1 Like

split tree component

3 Likes

Thank you so much!!!