sdv.constraints.Constraint.is_valid

Constraint.is_valid(table_data)[source]

Say whether the given table rows are valid.

This is a dummy version of the method that returns a series of True values to avoid dropping any rows. This should be overwritten by all the subclasses that have a way to decide which rows are valid and which are not.

Parameters

table_data (pandas.DataFrame) – Table data.

Returns

Series of True values

Return type

pandas.Series