diff --git a/docs/guides/features/tolerances.ipynb b/docs/guides/features/tolerances.ipynb index 76eb045..06e07e7 100644 --- a/docs/guides/features/tolerances.ipynb +++ b/docs/guides/features/tolerances.ipynb @@ -34,7 +34,7 @@ "source": [ "## Default behavior\n", "\n", - "By default, `diffly` uses `abs_tol=1e-08` and `rel_tol=1e-05` for floating point comparisons, matching Python's `math.isclose` defaults. Temporal types (dates, datetimes) are compared exactly (`abs_tol_temporal=0`). This means tiny floating point rounding is automatically ignored, but even a one-second timestamp difference will be flagged.\n", + "By default, `diffly` uses `abs_tol=1e-08` and `rel_tol=1e-05` for floating point comparisons, matching the defaults of `polars.testing.assert_frame_equal` (note these are looser than the defaults of `polars.Expr.is_close` and Python's `math.isclose`). Temporal types (dates, datetimes) are compared exactly (`abs_tol_temporal=0`). This means tiny floating point rounding is automatically ignored, but even a one-second timestamp difference will be flagged.\n", "\n", "In our scenario, the `total` column has some values that differ only at the 10th decimal place due to how the totals were calculated in each system:" ]