We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a9b8e commit ecffba7Copy full SHA for ecffba7
mbdiff/pretty_print.py
@@ -13,10 +13,12 @@ def present_explanations(explanations: List) -> str:
13
pres_df = DataFrame(pres_df)
14
# NaN means "any value", represent as "-" just like in the original paper
15
pres_df.fillna("-", inplace=True)
16
+ pres_df = pres_df.drop_duplicates()
17
return tabulate(pres_df, headers="keys")
18
19
20
def present_invalid(combinations: List[Dict]) -> str:
21
"""Pretty print invalid attr combinations."""
22
pres_df = DataFrame(combinations)
23
24
0 commit comments