LessThanEqualTo / Boolean Layer
Create boolean mask columns indicating where values are less than or equal to a specified value. Similar to pandas series <= value or R's <= operator. Returns True for values at or below the threshold.
Common applications:
- Maximum allowances
- Inclusive upper bounds
- Capacity planning
- Deadline checking
- Resource limits
Example:
Index | Value | Less Than Equal 50 |
---|---|---|
0 | 75 | false |
1 | 50 | true |
2 | null | null |
3 | 25 | true |
4 | 100 | false |
Compare
[, ...]List of greater-than comparisons to perform. Each creates a new boolean column. Common scenarios:
- Multiple threshold checks
- Range validations
- Limit monitoring
- Quality thresholds
At least one comparison must be specified.
SelectLeft
columnThe column to compare. Must contain ordered values (numeric, datetime, etc.). Null values result in null in the output mask.
RightValue
stringThe threshold value to compare against. Must be compatible with column type:
- Numeric: '50', '3.14'
- Date: '2024-01-01'
- Time: '14:30:00'
Used as the lower bound for the comparison.
AsColumn
nameName 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.