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.

sdv.constraints.Unique.filter_valid

Unique.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