fn convert_to_f64_array(array: &ArrayRef) -> Result<Float64Array>
Converts an array of any numeric type to a Float64Array.