Subscript

subscript(_:)

Creates a subset of the column, given a range of elements.

Declaration

subscript(slice: Range<Int>) -> MLDataColumn<Element> { get }

Parameters

slice

A range of integers indicating which elements to include in the new column.

Return Value

A new column.

See Also

Selecting Elements to Generate a Column

subscript<R>(R) -> MLDataColumn<Element>

Creates a subset of the column, given a range expression of elements.

func prefix(Int) -> MLDataColumn<Element>

Creates a subset of the column, given a number of initial elements.

func suffix(Int) -> MLDataColumn<Element>

Creates a subset of the column, given a number of final elements.