pub fn primitive_to_boolean<T>(
from: &PrimitiveArray<T>,
to_type: ArrowDataType,
) -> BooleanArraywhere
T: NativeType,
Expand description
Returns a BooleanArray
where every element is different from zero.
Validity is preserved.
pub fn primitive_to_boolean<T>(
from: &PrimitiveArray<T>,
to_type: ArrowDataType,
) -> BooleanArraywhere
T: NativeType,
Returns a BooleanArray
where every element is different from zero.
Validity is preserved.