all_close

function of dascore.utils.misc source

all_close(
    ar1 ,
    ar2 ,
)

Return True if ar1 is allcose to ar2.

Just uses numpy.allclose unless ar1 is a datetime, in which case strict equality is used.