_simplify#
Tools for simplifying constraints.
Functions#
Remove redundant constraints from a list of constraints. |
- simplify_constraints(constraints)#
Remove redundant constraints from a list of constraints.
Given a list of the constraints on a table, produce a copy which simplifies it as much as possible by removing or combining constraints which provide overlapping information. The original list is not modified.
- Parameters
constraints (List[tmlt.analytics.constraints._base.Constraint]) –
- Return type