ScalarInequality
Compatibility: A single numerical or datetime column
The ScalarInequality
constraint enforces that all values in a column are greater or less than a fixed (scalar) value. That is, it enforces a lower or upper bound to the synthetic data.
Parameters
(required) column_name
: The name of the column that must follow the constraint
(required) relation
: The inequality relation between the column name and the value
'>'
The column is greater than the value
'>='
The column is greater than or equal to the value
'<'
The column is less than the value
'<='
The column is less than or equal to the value
(required) value
: The value that the column should be compared against
<int or float>
A numerical value
<string>
A string representing a datetime value
Example
Define your constraint using the parameters and then add it to a synthesizer.
FAQs
Last updated