Group Repeated Sequential Items in List

Python can help you directly get that as well!

from itertools import groupby
OUT = [keyValue for keyValue,groups in groupby(IN[0])]

Or you can do something using the OOTB nodes like this.


I took this post as a base but I’m sure there would be better node solutions out there.
SplitList.dyn (32.5 KB)

2 Likes