polars icon indicating copy to clipboard operation
polars copied to clipboard

Add expression to mirror `math.isclose` and `numpy.isclose`

Open leifmetcalf opened this issue 1 year ago • 6 comments

Problem description

Python's math library defines math.isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0) to test whether two floating points values are within a given tolerance of each other. Numpy also implements this operator.

leifmetcalf avatar Sep 11 '23 06:09 leifmetcalf