Generic Subscript

subscript(_:)

Creates a subset of the table given a sequence of column names.

Declaration

subscript<S>(columnNames: S) -> MLDataTable where S : Sequence, S.Element == String { get }

Parameters

columnNames

A sequence of names indicating which columns to include in the new data table.

Return Value

A new data table.