unique_ordered#
- caput.util.arraytools.unique_ordered(x: collections.abc.Iterable) list[source]#
Take unique values from an iterable with order preserved.
- Parameters:
- x
Iterable An iterable which may or may not contain duplicate values.
- x
- Returns:
- unique
list Unique items in x with order preserved.
- unique