Skip to main content

integers_fit_digits

Function integers_fit_digits 

Source
fn integers_fit_digits<T>(array: &PrimitiveArray<T>, digits: u32) -> bool
where T: ArrowPrimitiveType, T::Native: ArrowNativeTypeOp,
Expand description

Returns true if every value of array has at most digits decimal digits.

If the source type cannot hold that many digits, every value fits; otherwise the data is scanned, including null slots, since unary converts those as well.