Filter Repeating Items from a List

Hi, I’m trying to split a list into two separate lists, 1 that has all parameters that repeat, and one that is a list of all parameters that don’t repeat. IN the below example, the two lists would be;

0.01
0.02
0.03
0.05

And;
0.04
0.04

Use the UniqueItems node

2 Likes

Group and filter. Unique items will pull the duplicates one time each, which is data we get in the single group by key function.

Note that if you want to work with just the values, wire ‘paramVals’ into the list and the keys input on the GroupByKey node.

1 Like

You could also use the CountOccurences node from the Clockwork Package and then have a simple
“Amount > 1 ?” Code Block with a List.FilterbyBoolmask