Operator

||(_:_:)

Creates a column of Booleans by performing a logical OR operation on each element in the first column with the corresponding element in the second column.

Declaration

static func || (a: MLDataColumn<Bool>, b: MLDataColumn<Bool>) -> MLDataColumn<Bool>
Available when Element is Bool.

Parameters

a

A column of Booleans.

b

A column of Booleans.

Return Value

A new column of Booleans if the columns are the same size; otherwise an invalid column.

See Also

Combining Columns of Booleans to Generate a Column of Booleans

static func && (MLDataColumn<Bool>, MLDataColumn<Bool>) -> MLDataColumn<Bool>

Creates a column of Booleans by performing a logical AND operation on each element in the first column with the corresponding element in the second column.