Subscript

subscript(_:)

Creates a subset of the column by masking its elements with a data column of Booleans.

Declaration

subscript(mask: MLDataColumn<Bool>) -> MLUntypedColumn { get }

Parameters

mask

A Boolean column indicating whether elements should be kept (true) or removed (false) in the derived column.

Return Value

A new column.

See Also

Masking Elements to Generate an Untyped Column

subscript(MLUntypedColumn) -> MLUntypedColumn

Creates a subset of the column by masking its elements with another untyped column.