Skip to main content

Column.||

||other

Group: Operators
Aliases: or

Documentation

Element-wise boolean disjunction.

Returns a column containing the result of performing the boolean or on each element of self and other.

Arguments

  • other: The value to compute the disjunction of self with. If other is a column, the disjunction is performed pairwise between corresponding elements of self and other.

Examples

Compute the pairwise logical disjunction to two columns.

      import Standard.Examples

example_or = Examples.bool_column_1 || Examples.bool_column_2

Compute the logical disjunction of each value in a column with a single

value.

      import Standard.Examples

example_or = Examples.bool_column_1 || True