Skip to main content

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 of self with. If other is a column, the conjunction is performed pairwise between corresponding elements of self and other.

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