Contents

map(to:)

Creates a new column by converting this column to the given type.

Declaration

func map<T>(to type: T.Type) -> MLDataColumn<T> where T : MLDataValueConvertible

Parameters

Return Value

A new column.

Discussion

This method is functionally equivalent to the initializers of MLDataColumn that have one parameter column, such as init(column:).

See Also

Creating a data column by converting another column