pub fn natural2array<I, T>(nat: I, cap: usize) -> PrimitiveArray<T>where I: Iterator<Item = T::Native>, T: ArrowPrimitiveType,