Contents

subscript(_:)

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

Declaration

subscript(mask: MLDataColumn<Bool>) -> MLDataColumn<Element> { 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 a column