Contents

init(_:)

Creates a new column of integers from a given range.

Declaration

init(_ range: Range<Int>)

Parameters

  • range:

    A range of integer elements for the new column.

Discussion

Use this initializer to create a column of incrementing values from a range.

let rangeColumn = MLUntypedColumn(3..<7)

print(rangeColumn)
/* Prints...
 ValueType: Int
 Values:        [3, 4, 5, 6]
 */

See Also

Creating an untyped column