Environment details
- SDV version: 1.27 Community version
- Python version: 3.13.7
- Operating System: RedHat 8.10
Problem description
I can generate single locale synthetic data like,
from sdv.single_table import GaussianCopulaSynthesizer
synthesizer=GaussianCopulaSynthesizer(
metadata,
locales=['en_CA']
)
synthesizer.fit(data)
synthetic_data=synthesizer.sample(num_rows=500)
synthetic_data.to_csv('filename.csv')
Is there a way to generate 30% Canadian, 40% US and 30% UK synthetic data and save it to one csv file?
Environment details
Problem description
I can generate single locale synthetic data like,
from sdv.single_table import GaussianCopulaSynthesizer
synthesizer=GaussianCopulaSynthesizer(
metadata,
locales=['en_CA']
)
synthesizer.fit(data)
synthetic_data=synthesizer.sample(num_rows=500)
synthetic_data.to_csv('filename.csv')
Is there a way to generate 30% Canadian, 40% US and 30% UK synthetic data and save it to one csv file?