Generic Subscript

subscript(_:)

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

Declaration

subscript<R>(slice: R) -> MLUntypedColumn where R : RangeExpression, R.Bound == Int { get }

Parameters

slice

An interger range expression indicating which elements to include in the new column.

Return Value

A new column.

See Also

Selecting Elements to Generate an Untyped Column

subscript(Range<Int>) -> MLUntypedColumn

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

func prefix(Int) -> MLUntypedColumn

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

func suffix(Int) -> MLUntypedColumn

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