Column.&&
&&other
Group: Operators
Aliases: and
Documentation
Element-wise boolean conjunction.
Returns a column containing the result of performing boolean and
on each element of self
and other
.
Arguments
other
: The value to compute the conjunction ofself
with. Ifother
is a column, the conjunction is performed pairwise between corresponding elements ofself
andother
.
Examples
Compute the pairwise logical conjunction to two columns.
import Standard.Examples
example_and = Examples.bool_column_1 && Examples.bool_column_2
Compute the logical conjunction of each value in a column with a single
value.
import Standard.Examples
example_and = Examples.bool_column_1 && True