Contents

prefix(_:)

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

Declaration

func prefix(_ maxLength: Int = 10) -> MLDataColumn<Element>

Parameters

  • maxLength:

    An integer that limits the number of elements to use from the beginning of the column. The default value is 10.

Return Value

A new column.

See Also

Selecting elements to generate a column