Skip to content

Unique

Extracts the unique elements in each list/array.

Effectively deduplicates the input lists.

Example

This step has no parameters, so it's simply:

unique(ds.input_lists) -> (ds.unique_elems)

Usage

The following are the step's expected inputs and outputs and their specific types.

unique(input: list) -> (output: column)

Inputs


input: column:list

A column containing lists.

Outputs


output: column

A column of lists of the same type as the input, containing only the unique elements from each input lists.