Open pvk-developer opened 1 year ago
Requirements:
NaN
values, as the correlation is not defined in this case.I believe (2) will be taken care of by the updated Column Pair Trends property, as described in issue #356 (single table) and #358 (multi table).
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: https://github.com/sdv-dev/SDMetrics/blob/8b79accdf1ceb83780b20e8d53a66e0b7f68a54e/sdmetrics/reports/single_table/quality_report.py#L76-L81Steps to reproduce