Constraints
Constraint Example

checkout_date must be greater than the checkin_date for all rows.Resources
Last updated

checkout_date must be greater than the checkin_date for all rows.Last updated
from sdv.cag import Inequality
my_constraint = Inequality(
low_column_name='checkin_date',
high_column_name='checkout_date'
)
my_synthesizer.add_constraints(constraints=[
my_constraint
])