Struct brassfibre::prelude::DataFrame [] [src]

pub struct DataFrame<'v, 'i, 'c, I, C> where
    I: 'i + Clone + Hash,
    C: 'c + Clone + Hash
{ pub values: Vec<Cow<'v, Array>>, pub index: Cow<'i, Indexer<I>>, pub columns: Cow<'c, Indexer<C>>, }

Fields

2-dimentional block contains multiple type. I: type of indexer C: type of columns

Methods

impl<'v, 'i, 'c, I, C> DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash
[src]

///////////////////////////////////////////////////////////////////////////// Misc /////////////////////////////////////////////////////////////////////////////

impl<'v, 'i, 'c, I, C> DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Hash + Eq,
    C: Clone + Hash + Eq
[src]

impl<'a, I, C> DataFrame<'a, 'a, 'a, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash
[src]

impl<'a, I, C> DataFrame<'a, 'a, 'a, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash + ToString
[src]

Trait Implementations

impl<'v, 'i, 'c, I, C> BasicAggregation<'c> for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: 'c + Clone + Eq + Hash
[src]

impl<'v, 'i, 'c, I, C> NumericAggregation<'c> for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: 'c + Clone + Eq + Hash
[src]

impl<'v, 'i, 'c, I, C> ComparisonAggregation<'c> for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: 'c + Clone + Eq + Hash
[src]

impl<'v, 'i, 'c, I, C> Description<'c> for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash
[src]

impl<'v, 'i, 'c, I, C> Display for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash + Debug
[src]

Formats the value using the given formatter. Read more

impl<'v, 'i, 'c, I, C> Debug for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash + ToString,
    C: Clone + Eq + Hash + ToString
[src]

Formats the value using the given formatter.

impl<'v, 'i, 'c, I, C> Append<'c> for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash
[src]

impl<'v, 'i, 'c, I, C> Concatenation<'i> for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash
[src]

impl<'v, 'i, 'c, I, C> Join for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash
[src]

impl<'v, 'i, 'c, I: Clone, C: Clone> Clone for DataFrame<'v, 'i, 'c, I, C> where
    I: 'i + Clone + Hash,
    C: 'c + Clone + Hash
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'v, 'i, 'c, I, C> RowIndex<'c> for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash
[src]

///////////////////////////////////////////////////////////////////////////// Indexing /////////////////////////////////////////////////////////////////////////////

Get a single value corresponding to given label (slice by LOCation)

Get a single value corresponding to given index (slice by Index LOCation)

Slice using given Vec (slice by Bool LOCationS)

Slice using given labels (slice by LOCationS)

Slice using given indices (slice by Index LOCationS)

impl<'v, 'i, 'c, I, C> ColIndex<'i> for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Eq + Hash,
    C: Clone + Eq + Hash
[src]

Get column using label

Get column using given index

Slice columns using labels

Slice columns given indices

impl<'v, 'i, 'c, I, C> PartialEq for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Hash + Eq,
    C: Clone + Hash + Eq
[src]

///////////////////////////////////////////////////////////////////////////// Eq /////////////////////////////////////////////////////////////////////////////

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'v, 'i, 'c, I, C> IntoIterator for DataFrame<'v, 'i, 'c, I, C> where
    I: Clone + Hash + Eq,
    C: Clone + Hash + Eq
[src]

///////////////////////////////////////////////////////////////////////////// Iterator /////////////////////////////////////////////////////////////////////////////

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more