Skip to main content

DB_Column.==

==other

Group: Operators
Aliases: equals

Documentation

Element-wise equality comparison.

Returns a column with results of comparing this column's elements against other.

Arguments

  • other: The value to compare self against. If other is a column, the comparison is performed pairwise between corresponding elements of self and other.

Examples

Compare two columns for pairwise equality.

      import Standard.Examples

example_eq = Examples.integer_column == Examples.decimal_column

Compare a column with a number.

      import Standard.Examples

example_eq = Examples.integer_column == 1

Errors

  • If this operation results in comparing floating-point values for equality which is not recommended, a Floating_Point_Equality warning is attached to the result.