Skip to content

Length

text

Calculates the length of lists (number of elements) or texts/categories (number of characters).

Example

This step has no parameters, so it's simply

length(ds.input) -> (ds.input_lengths)

Usage

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

length(input: list|text|category) -> (output: number)

Inputs


input: column:list|text|category

A column of input lists, texts or categories.

Outputs


output: column:number

A column containing lengths of the input column's values.