NumPy · Function
np.isclose
Checks whether corresponding values in two array-like inputs are close within relative and absolute tolerances. It returns Boolean results and can optionally treat matching NaN values as equal.
Last updated
Syntax
numpy.isclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
allclosemath.isclose