pub fn ensure_similar(left: &ArrayData, right: &ArrayData) -> Result<()>
Expand description
Are two arrays equal, ignoring small numeric differences?
Returns Ok
if similar.
If there is a difference, a description of that difference is returned in Err
.
We use anyhow
to provide context.