NotEqualTo / Boolean Layer

Create boolean mask columns indicating where values differ from a specified value. Similar to pandas series != value or R's != operator. Returns True where values are different and False where equal. Null values result in null.

Common applications:

  • Finding discrepancies
  • Excluding specific values
  • Anomaly detection
  • Change detection
  • Exception identification

Example:

IndexValueNot Equal to 'apple'
0applefalse
1orangetrue
2applefalse
3nullnull
4APPLEtrue
Table
0
0
Table

Compare

[, ...]

List of inequality comparisons to perform. Each comparison creates a new boolean column. Common scenarios:

  • Multiple exclusion checks
  • Difference detection
  • Error condition testing
  • Validation rules

At least one comparison must be specified.

The column to compare. The comparison respects the column's data type and performs type-appropriate inequality checking. Null values in this column result in null in the output.

The value to compare against. Must be compatible with the column's data type. Examples:

  • Numeric: '42', '-1.5'
  • String: 'apple', 'pending'
  • Boolean: 'true', 'false'

Case-sensitive for string comparisons.

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.