Incorrect handling of empty dataframe during conditional sampling #2334
Labels
bug
Something isn't working
feature:sampling
Related to generating synthetic data after a model is built
under discussion
Issue is currently being discussed
Environment Details
Error 1:
_filter_conditions
will throw an unhandled error when trying to access any of dataframe columns, because it is empty, and sampling will be stopped:From
sdv/single_table/base.py/_sample_rows
Line causing an error from
sdv/single_table/base.py/_filter_conditions
Error 2:
filter_valid
will throw an unhandled error when trying to access any of sample dataframe columns, because it is empty, and sampling will be stopped:From
sdv/data_processing/data_processor.py/filter_valid
The text was updated successfully, but these errors were encountered: