fn cast_bool_to_numeric<TO>(
from: &dyn Array,
cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>where
TO: ArrowPrimitiveType,
TO::Native: NumCast,Expand description
Cast Boolean types to numeric
false returns 0 while true returns 1