QualityReport with CorrelationSimilarity
to a column that contains only nans
generates a ValueError
#351
Labels
bug
Something isn't working
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
When running quality report we are expecting it to be fault tolerant, meaning that if a single metric crashes during computation the report should catch those errors and continue with the other metrics and just report
NaN
for that metric. However when you have a column full ofnans
ornulls
, the following error occurs for theCorrelationSimilarity
:For some reason that
ValueError
is not being captured by the quality report:SDMetrics/sdmetrics/reports/single_table/quality_report.py
Lines 76 to 81 in 8b79acc
Steps to reproduce
The text was updated successfully, but these errors were encountered: