Function primitive_to_boolean
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.