Getting KeyError while generation of data (synthesizer.sample()) - sdv==1.12.1 #2026
Labels
feature:sampling
Related to generating synthetic data after a model is built
resolution:resolved
The issue was fixed, the question was answered, etc.
Environment details
If you are already running SDV, please indicate the following details about the environment in
which you are running it:
Problem description
I am looking to generate synthetic data at scale, for two tables (Customers, and Orders) having a relationship between them, where customers is a parent and orders as a child. After Validating the MultiTableMetadata and applying constraints, I was also able to fit the HMASynthesizer on real data.
But while generating the sample data, I am getting the following error:
I had tried to generate it multiple times, and each time I got different KeyError, such as
KeyError: 4
,KeyError: 7
, and so on. It is difficult to identify the root cause of this error.The text was updated successfully, but these errors were encountered: