Enum brassfibre::prelude::Array
[−]
[src]
pub enum Array { Int64Array(NullVec<i64>), Int32Array(NullVec<i32>), Int16Array(NullVec<i16>), Int8Array(NullVec<i8>), IsizeArray(NullVec<isize>), UInt64Array(NullVec<u64>), UInt32Array(NullVec<u32>), UInt16Array(NullVec<u16>), UInt8Array(NullVec<u8>), UsizeArray(NullVec<usize>), Float64Array(NullVec<f64>), Float32Array(NullVec<f32>), BoolArray(NullVec<bool>), StringArray(NullVec<String>), }
Generic array which can contain NullVec
of primitive types.
Variants
Int64Array(NullVec<i64>)
Nullable i64
array
Int32Array(NullVec<i32>)
Nullable i32
array
Int16Array(NullVec<i16>)
Nullable i16
array
Int8Array(NullVec<i8>)
Nullable i8
array
IsizeArray(NullVec<isize>)
Nullable isize
array
UInt64Array(NullVec<u64>)
Nullable u64
array
UInt32Array(NullVec<u32>)
Nullable u32
array
UInt16Array(NullVec<u16>)
Nullable u16
array
UInt8Array(NullVec<u8>)
Nullable u8
array
UsizeArray(NullVec<usize>)
Nullable usize
array
Float64Array(NullVec<f64>)
Nullable f64
array
Float32Array(NullVec<f32>)
Nullable f32
array
BoolArray(NullVec<bool>)
Nullable bool
array
StringArray(NullVec<String>)
Nullable String
array
Methods
impl Array
[src]
fn new<I>(values: I) -> Array where
I: Into<Array>,
I: Into<Array>,
fn dtype(&self) -> String
fn is_numeric(&self) -> bool
Trait Implementations
impl Clone for Array
[src]
fn clone(&self) -> Array
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl NumericAggregation for Array
[src]
type Coerced = Nullable<f64>
fn mean(&self) -> <Array as NumericAggregation>::Coerced
Return mean of contained values.
fn var(&self) -> <Array as NumericAggregation>::Coerced
Return variance of contained values.
fn unbiased_var(&self) -> <Array as NumericAggregation>::Coerced
Return unbiased variance of contained values.
fn std(&self) -> <Array as NumericAggregation>::Coerced
Return standard deviation of contained values.
fn unbiased_std(&self) -> <Array as NumericAggregation>::Coerced
Return unbiased standard deviation of contained values.
impl Append for Array
[src]
impl From<Vec<usize>> for Array
[src]
impl From<NullVec<u16>> for Array
[src]
impl From<Vec<isize>> for Array
[src]
impl From<NullVec<i64>> for Array
[src]
impl From<NullVec<i8>> for Array
[src]
impl From<NullVec<String>> for Array
[src]
impl From<NullVec<u8>> for Array
[src]
impl From<NullVec<i16>> for Array
[src]
impl From<NullVec<i32>> for Array
[src]
impl From<Vec<u16>> for Array
[src]
impl From<NullVec<f32>> for Array
[src]
impl From<Vec<u32>> for Array
[src]
impl From<Vec<u8>> for Array
[src]
impl From<Vec<i32>> for Array
[src]
impl From<NullVec<u32>> for Array
[src]
impl From<NullVec<f64>> for Array
[src]
impl From<Vec<f32>> for Array
[src]
impl From<Vec<i64>> for Array
[src]
impl From<NullVec<bool>> for Array
[src]
impl From<NullVec<usize>> for Array
[src]
impl From<NullVec<u64>> for Array
[src]
impl From<Vec<i16>> for Array
[src]
impl From<Vec<i8>> for Array
[src]
impl From<Vec<f64>> for Array
[src]
impl From<Vec<Scalar>> for Array
[src]
impl From<Vec<u64>> for Array
[src]
impl<'a> From<Vec<&'a str>> for Array
[src]
impl From<Vec<bool>> for Array
[src]
impl From<Vec<String>> for Array
[src]
impl From<NullVec<isize>> for Array
[src]
impl Stringify for Array
[src]
fn into_string_vec(&self) -> Vec<String>
impl Slicer for Array
[src]
type Scalar = Scalar
fn len(&self) -> usize
Return the length of myself
fn iloc(&self, location: &usize) -> <Array as Slicer>::Scalar
Return a single element specified with the location Read more
unsafe fn iloc_unchecked(&self, location: &usize) -> <Array as Slicer>::Scalar
Return a single element specified with the location
fn ilocs(&self, locations: &[usize]) -> Array
Return multiple elements specified with the locations Read more
unsafe fn ilocs_unchecked(&self, locations: &[usize]) -> Array
Return multiple elements specified with the locations
fn ilocs_forced(&self, locations: &[usize]) -> Array
Return multiple elements specified with the locations Read more
fn blocs(&self, flags: &[bool]) -> Array
Return multilpe elements specified with bool flags
fn reindex(&self, locations: &[usize]) -> Self
Return multiple elements specified with the locations Read more
unsafe fn reindex_unchecked(&self, locations: &[usize]) -> Self
Return multiple elements specified with the locations
fn reindex_forced(&self, locations: &[usize]) -> Self
Return multiple elements specified with the locations Read more
impl ComparisonAggregation for Array
[src]
type Kept = Scalar
fn min(&self) -> <Array as ComparisonAggregation>::Kept
Return min of contained values.
fn max(&self) -> <Array as ComparisonAggregation>::Kept
Return max of contained values.
impl BasicAggregation for Array
[src]
type Kept = Scalar
type Counted = usize
fn sum(&self) -> <Array as BasicAggregation>::Kept
Return sum of contained values.
fn count(&self) -> <Array as BasicAggregation>::Counted
Return count of contained values.
impl PartialEq<Array> for Array
[src]
fn eq(&self, __arg_0: &Array) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Array) -> bool
This method tests for !=
.