# API Reference


## Compare


Compare two tables and judge the result.


[diff_table()](diff_table.md#dazdiff.diff_table)  
Compare two tables value by value.

[is_matching()](is_matching.md#dazdiff.is_matching)  
`True` when every row of a `diff_table()` result is `same`: no value

[diff_summary()](diff_summary.md#dazdiff.diff_summary)  
Condense a `diff_table()` result per measure.

[diff_explain()](diff_explain.md#dazdiff.diff_explain)  
Which values of the key columns separate the rows that match from those that


## Report


Draw a comparison as text.


[diff_report()](diff_report.md#dazdiff.diff_report)  
Lay out a `diff_table()` result as a bounded text report.

[DiffReport](DiffReport.md#dazdiff.DiffReport)  
What `diff_report()` found; `str(report)` draws it in Unicode and


## Testing


Use a comparison as a test assertion.


[assert_table_equal()](assert_table_equal.md#dazdiff.assert_table_equal)  
Assert that `actual` matches `expected`, for use in tests.


## Helpers and conditions


Name normalization, and the errors, notes and warnings dazdiff raises.


[normalize_names()](normalize_names.md#dazdiff.normalize_names)  
Normalize column names as `diff_table()` does.

[DiffError](DiffError.md#dazdiff.DiffError)  
The two tables cannot be compared as asked.

[DiffNote](DiffNote.md#dazdiff.DiffNote)  
An expected side effect, e.g. a column was dropped or a value truncated.

[DiffWarning](DiffWarning.md#dazdiff.DiffWarning)  
The answer may be wrong, e.g. rows were paired by arrival order.
