❖ DenormalizedTable
Last updated
from sdv.cag import DenormalizedTable
my_constraint = DenormalizedTable(
table_name='Transactions-Users',
denormalized_primary_key='User ID',
denormalized_column_names=['User Birthdate']
)synthesizer = HSASynthesizer(metadata)
synthesizer.add_constraints([my_constraint])
synthesizer.fit(data)
synthetic_data = synthesizer.sample()constraints = synthesizer.detect_constraints(data)