expand(columnNamed:to:)
Creates a new data table where duplicate row values in the given column are condensed into a new sequence-type column.
Declaration
func expand(columnNamed: String, to: String) -> MLDataTableParameters
- columnNamed:
The name of the column to expand.
- to:
The name of the new expanded column.
Return Value
A new data table.
Discussion
This function performs the inverse of condense(columnNamed:to:).