❖ UniqueBridgeTable
Last updated
Last updated
from sdv.cag import UniqueBridgeTable
my_constraint = UniqueBridgeTable(
table_name='Author-Book',
foreign_key_columns=['Author ID', 'Book ID'])synthesizer = HSASynthesizer(metadata)
synthesizer.add_constraints([my_constraint])
synthesizer.fit(data)
synthetic_data = synthesizer.sample()