split-column

Splits values in a column

Splits values in a column into a number of columns using a specified separator to determine where to make each split.

Arguments

Inputs:

data: The datatable to be searched.

source: The name of the column to be split

separator: The separator text, or regular expression, which denotes the points at which each split should occur. The separator is treated a regular expression if it begins and ends with /.

columns: The list of columns to be added.

Output:

output: A datatable with columns added.

Last updated