pub fn primitive_to_boolean<T>(
from: &PrimitiveArray<T>,
to_type: DataType
) -> BooleanArray where
T: NativeType, This is supported on crate feature
compute_cast only.Expand description
Returns a BooleanArray where every element is different from zero.
Validity is preserved.