Skip to main content

is_matching()

True when every row of a diff_table() result is same: no value

Usage

Source

is_matching(
    d,
    *,
    tolerance=None,
    rel_tol=None,
)

changed and no row is found in only one table. Two empty tables match.

With tolerance or rel_tol the values are judged again at those thresholds, looser or stricter, from the stored abs_diff and rel_diff, by diff_table()’s rule: equal or both-missing values always match, and the tolerances apply to finite pairs only. When only one is given, the other is 0. A row found in only one table never matches.