polars-arrow 0.53.0

Minimal implementation of the Arrow specification forked from arrow2
Documentation
1
2
3
4
5
6
7
8
9
use crate::array::Array;
use crate::array::binview::{BinaryViewArrayGeneric, ViewType};

pub(super) fn equal<T: ViewType + ?Sized>(
    lhs: &BinaryViewArrayGeneric<T>,
    rhs: &BinaryViewArrayGeneric<T>,
) -> bool {
    lhs.dtype() == rhs.dtype() && lhs.len() == rhs.len() && lhs.iter().eq(rhs.iter())
}