GreaterThan / Boolean Layer
Create boolean mask columns indicating where values are strictly greater than a specified value. Similar to pandas series > value or R's > operator. Returns True for values greater than the threshold.
Common applications:
- Threshold detection
- Upper bound violations
- Score filtering
- Performance benchmarking
- Age restrictions
Example:
Index | Value | Greater Than 50 |
---|---|---|
0 | 75 | true |
1 | 50 | false |
2 | null | null |
3 | 25 | false |
4 | 100 | true |
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.