sdv.constraints.ScalarInequality.filter_valid

ScalarInequality.filter_valid(table_data)

Get only the rows that are valid.

The filtering is done by calling the method is_valid, which should be overwritten by subclasses, while this method should stay untouched.

Parameters

table_data (pandas.DataFrame) – Table data.

Returns

Input data unmodified.

Return type

pandas.DataFrame