Danger You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software Click here to go to the new docs pages.
Danger
You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software
Click here to go to the new docs pages.
Constraint(*args, **kwargs)
Constraint
Constraint base class.
Constraint.fit(table_data)
Constraint.fit
Fit Constraint class to data.
Constraint.transform(table_data)
Constraint.transform
Perform necessary transformations needed by constraint.
Constraint.fit_transform(table_data)
Constraint.fit_transform
Fit this Constraint to the data and then transform it.
Constraint.reverse_transform(table_data)
Constraint.reverse_transform
Handle logic around reverse transforming constraints.
Constraint.is_valid(table_data)
Constraint.is_valid
Say whether the given table rows are valid.
Constraint.filter_valid(table_data)
Constraint.filter_valid
Get only the rows that are valid.
Constraint.from_dict(constraint_dict)
Constraint.from_dict
Build a Constraint object from a dict.
Constraint.to_dict()
Constraint.to_dict
Return a dict representation of this Constraint.