ak.isclose#
Defined in awkward.operations.ak_isclose on line 19.
- ak.isclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False, *, highlevel=True, behavior=None, attrs=None)#
- Parameters:
a – Array-like data (anything
ak.to_layoutrecognizes).b – Array-like data (anything
ak.to_layoutrecognizes).rtol (float) – The relative tolerance parameter.
atol (float) – The absolute tolerance parameter.
equal_nan (bool) – Whether to compare
NaNas equal. If True,NaNinawill be considered equal toNaNinb.highlevel (bool) – If True, return an
ak.Array; otherwise, return a low-levelak.contents.Contentsubclass.behavior (None or dict) – Custom
ak.behaviorfor the output array, if high-level.attrs (None or dict) – Custom attributes for the output array, if high-level.
Implements np.isclose for Awkward Arrays.