Skip to content

Unique

Extracts the unique elements in each list/array.

Effectively deduplicates the input lists.

Usage


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

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

where the object {"param": value} is optional in most cases and if present may contain any of the parameters described in the corresponding section below.

Example

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

Example call (in recipe editor)
unique(ds.input_lists) -> (ds.unique_elems)

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.

Back to top