ak.isclose
----------

.. py:module: ak.isclose

Defined in `awkward.operations.ak_isclose <https://github.com/scikit-hep/awkward/blob/36da52cfa8846355c390beb6555eac1d31c27c26/src/awkward/operations/ak_isclose.py>`__ on `line 19 <https://github.com/scikit-hep/awkward/blob/36da52cfa8846355c390beb6555eac1d31c27c26/src/awkward/operations/ak_isclose.py#L19>`__.

.. py:function:: ak.isclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False, *, highlevel=True, behavior=None, attrs=None)


    :param a: Array-like data (anything :py:obj:`ak.to_layout` recognizes).
    :param b: Array-like data (anything :py:obj:`ak.to_layout` recognizes).
    :param rtol: The relative tolerance parameter.
    :type rtol: float
    :param atol: The absolute tolerance parameter.
    :type atol: float
    :param equal_nan: Whether to compare ``NaN`` as equal. If True, ``NaN`` in
                  ``a`` will be considered equal to ``NaN`` in ``b``.
    :type equal_nan: bool
    :param highlevel: If True, return an :py:obj:`ak.Array`; otherwise, return
                  a low-level :py:obj:`ak.contents.Content` subclass.
    :type highlevel: bool
    :param behavior: Custom :py:obj:`ak.behavior` for the output array, if
                 high-level.
    :type behavior: None or dict
    :param attrs: Custom attributes for the output array, if
              high-level.
    :type attrs: None or dict

Implements `np.isclose <https://numpy.org/doc/stable/reference/generated/numpy.isclose.html>`__
for Awkward Arrays.