GaussianCopula get_learned_distributions
crashes if nothing was learned
#2297
Labels
get_learned_distributions
crashes if nothing was learned
#2297
Environment Details
Error Description
In some instances, I may have a dataset with columns where nothing gets modeled. For eg, I may just have ID columns, or I may have PII columns that don't get modeled (they are using AnonymizedFaker).
In these instances, fitting and sampling work just fine. But
get_learned_distributions
causes a crash.Steps to reproduce
Expected Behavior
If nothing was learned, then
get_learned_distributions
should just return an empty dict.The text was updated successfully, but these errors were encountered: