sdv.constraints.OneHotEncoding.to_dict

OneHotEncoding.to_dict()

Return a dict representation of this Constraint.

The dictionary will contain the Qualified Name of the constraint class in the key constraint, as well as any other arguments that were passed to the constructor when the instance was created.

Returns

Dict representation of this Constraint.

Return type

dict