pub fn sampler_from_example(array: &dyn Array) -> ArrowLenSampler