sdv.constraints.OneHotEncoding.fit

OneHotEncoding.fit(table_data)

Fit Constraint class to data.

Parameters

table_data (pandas.DataFrame) – Table data.