Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Float64Array in datafusion::common::arrow::array - Rust
[go: Go Back, main page]

Type Alias Float64Array

Source
pub type Float64Array = PrimitiveArray<Float64Type>;
Expand description

A PrimitiveArray of f64

§Examples

Construction

// Create from Vec<Option<f32>>
let arr = Float64Array::from(vec![Some(1.0), None, Some(2.0)]);
// Create from Vec<f32>
let arr = Float64Array::from(vec![1.0, 2.0, 3.0]);
// Create iter/collect
let arr: Float64Array = std::iter::repeat(42.0).take(10).collect();

See PrimitiveArray for more information and examples

Aliased Type§

struct Float64Array { /* private fields */ }