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 ofself
with. Ifother
is a column, the disjunction is performed pairwise between corresponding elements ofself
andother
.
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