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

Unique.is_valid(table_data)[source]

Get indices of first instance of unique rows.

If a row is the first instance of that combination of column values, it is valid. Otherwise it is false.

Parameters

table_data (pandas.DataFrame) – Table data.

Returns

Whether each row is valid.

Return type

pandas.Series