Skip to main content

diff_report()

Lay out a diff_table() result as a bounded text report.

Usage

Source

diff_report(
    d,
    x_name="x",
    y_name="y",
    *,
    sample_k=5,
)

The identity and mode; the columns compared, dropped, excluded, ignored and truncated; a picture of how the rows of the two tables align; per measure that changed, its match rate and largest differences; and up to sample_k keys found in only one table. x_name and y_name label the two tables.