# Constraints¶

## Constraint¶

 Constraint(handling_strategy[, …]) Constraint base class. Constraint.fit(table_data) Fit Constraint class to data. Constraint.transform(table_data) Perform necessary transformations needed by constraint. Constraint.fit_transform(table_data) Fit this Constraint to the data and then transform it. Constraint.reverse_transform(table_data) Identity method for completion. Constraint.is_valid(table_data) Say whether the given table rows are valid. Constraint.filter_valid(table_data) Get only the rows that are valid. Constraint.from_dict(constraint_dict) Build a Constraint object from a dict. Return a dict representation of this Constraint.