pub fn pyarrow_required(column: &str) -> Array {
    let i64_values = &[0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
    let f64_values = &[0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0];
    let string_values = &[
        "Hello", "bbb", "aa", "", "bbb", "abc", "bbb", "bbb", "def", "aaa",
    ];
    let bool_values = &[
        true, true, false, false, false, true, true, true, true, true,
    ];
    let binary_values = &["aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj"];

    match column {
        "int64" => Array::Int64(i64_values.iter().map(|i| Some(*i as i64)).collect()),
        "float64" => Array::Float64(f64_values.iter().map(|f| Some(*f)).collect()),
        "string" => Array::Binary(
            string_values
                .iter()
                .map(|s| Some(s.as_bytes().to_vec()))
                .collect(),
        ),
        "bool" => Array::Boolean(bool_values.iter().map(|b| Some(*b)).collect()),
        "date" => Array::Int64(i64_values.iter().map(|i| Some(*i as i64)).collect()),
        "uint32" => Array::Int32(i64_values.iter().map(|i| Some(*i as i32)).collect()),
        "fixed_binary" => Array::FixedLenBinary(
            binary_values
                .iter()
                .map(|s| Some(s.as_bytes().to_vec()))
                .collect(),
        ),
        _ => unreachable!(),
    }
}
// these values match the values in `integration`
these values match the values in `integration`
these values match the values in ` integration `
pub fn pyarrow_required(column: &str) -> Array {
    let i64_values = &[0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
    let f64_values = &[0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0];
    let string_values = &[
        "Hello", "bbb", "aa", "", "bbb", "abc", "bbb", "bbb", "def", "aaa",
    ];
    let bool_values = &[
        true, true, false, false, false, true, true, true, true, true,
    ];
    let binary_values = &["aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj"];
    match column {
        "int64" => Array::Int64(i64_values.iter().map(|i| Some(*i as i64)).collect()),
        "float64" => Array::Float64(f64_values.iter().map(|f| Some(*f)).collect()),
        "string" => Array::Binary(
            string_values
                .iter()
                .map(|s| Some(s.as_bytes().to_vec()))
                .collect(),
        ),
        "bool" => Array::Boolean(bool_values.iter().map(|b| Some(*b)).collect()),
        "date" => Array::Int64(i64_values.iter().map(|i| Some(*i as i64)).collect()),
        "uint32" => Array::Int32(i64_values.iter().map(|i| Some(*i as i32)).collect()),
        "fixed_binary" => Array::FixedLenBinary(
            binary_values
                .iter()
                .map(|s| Some(s.as_bytes().to_vec()))
                .collect(),
        ),
        _ => unreachable!(),
    }
}
pub fn pyarrow_required ( column : & str ) -> Array { let i64_values = & [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ] ; let f64_values = & [ 0.0 , 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 ] ; let string_values = & [ " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , ] ; let bool_values = & [ true , true , false , false , false , true , true , true , true , true , ] ; let binary_values = & [ " " , " " , " " , " " , " " , " " , " " , " " , " " , " " ] ; match column { " " => Array :: Int64 ( i64_values . iter ( ) . map ( | i | Some ( * i as i64 ) ) . collect ( ) ) , " " => Array :: Float64 ( f64_values . iter ( ) . map ( | f | Some ( * f ) ) . collect ( ) ) , " " => Array :: Binary ( string_values . iter ( ) . map ( | s | Some ( s . as_bytes ( ) . to_vec ( ) ) ) . collect ( ) , ) , " " => Array :: Boolean ( bool_values . iter ( ) . map ( | b | Some ( * b ) ) . collect ( ) ) , " " => Array :: Int64 ( i64_values . iter ( ) . map ( | i | Some ( * i as i64 ) ) . collect ( ) ) , " " => Array :: Int32 ( i64_values . iter ( ) . map ( | i | Some ( * i as i32 ) ) . collect ( ) ) , " " => Array :: FixedLenBinary ( binary_values . iter ( ) . map ( | s | Some ( s . as_bytes ( ) . to_vec ( ) ) ) . collect ( ) , ) , _ => unreachable ! ( ) , } }
these values match the values in `integration`
these values match the values in ` integration `
column
&str