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.Range.reverse_transform

Range.reverse_transform(table_data)

Handle logic around reverse transforming constraints.

If the transform method was skipped, then this method should be too. Otherwise attempt to reverse transform and if that fails, return the data unchanged to fall back on reject sampling.

Parameters

table_data (pandas.DataFrame) – Table data.

Returns

Input data unmodified.

Return type

pandas.DataFrame