Skip to content

Commit

Permalink
remove droping Error column
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Palazzo committed Oct 31, 2023
1 parent c237226 commit 9718600
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions sdmetrics/reports/multi_table/_properties/cardinality.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ def _generate_details(self, real_data, synthetic_data, metadata, progress_bar=No
'Error': error_messages,
})

if self.details['Error'].isna().all():
self.details = self.details.drop('Error', axis=1)

def _get_table_relationships_plot(self, table_name):
"""Get the table relationships plot from the parent child relationship scores for a table.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ def _generate_details(self, real_data, synthetic_data, metadata, progress_bar=No
'Error': error_messages,
})

if self.details['Error'].isna().all():
self.details = self.details.drop('Error', axis=1)

def _get_table_relationships_plot(self, table_name):
"""Get the table relationships plot from the parent child relationship scores for a table.
Expand Down

0 comments on commit 9718600

Please sign in to comment.