[][src]Struct agnes::frame::DataFrame

pub struct DataFrame<Fields> where
    Fields: AssocStorage,
    Fields::Storage: Debug
{ /* fields omitted */ }

A data frame. A DataStore reference along with record-based filtering and sorting details.

Methods

impl<Fields> DataFrame<Fields> where
    Fields: AssocStorage,
    DataStore<Fields>: NRows
[src]

pub fn len(&self) -> usize[src]

Returns length (number of rows) in this DataFrame.

pub fn is_empty(&self) -> bool[src]

Returns whether or not this DataFrame is empty.

Trait Implementations

impl<FrameFields> SelfValued for DataFrame<FrameFields> where
    FrameFields: AssocStorage
[src]

Allow DataFrames to be pulled from LVCons as Values

impl<Fields> NRows for DataFrame<Fields> where
    Fields: AssocStorage,
    DataStore<Fields>: NRows
[src]

impl<Fields> FieldSelect for DataFrame<Fields> where
    Fields: AssocStorage
[src]

fn field<Label>(&self) -> Self::Output where
    Self: SelectFieldByLabel<Label>, 
[src]

Returns a struct containing the data for the field specified by Label. Read more

impl<Fields, Label> SelectFieldByLabel<Label> for DataFrame<Fields> where
    Fields: AssocStorage + Debug,
    Fields::Storage: LookupElemByLabel<Label> + NRows,
    ElemOf<Fields::Storage, Label>: Typed,
    ElemOf<Fields::Storage, Label>: Valued<Value = DataRef<TypeOfElemOf<Fields::Storage, Label>>>,
    TypeOf<ElemOf<Fields::Storage, Label>>: Debug
[src]

type Output = Framed<TypeOf<ElemOf<Fields::Storage, Label>>>

The return type for the select_field method.

impl<Fields> From<DataStore<Fields>> for DataFrame<Fields> where
    Fields: AssocStorage
[src]

impl<Fields: Clone> Clone for DataFrame<Fields> where
    Fields: AssocStorage,
    Fields::Storage: Debug
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Fields: Debug> Debug for DataFrame<Fields> where
    Fields: AssocStorage,
    Fields::Storage: Debug
[src]

Auto Trait Implementations

impl<Fields> !Send for DataFrame<Fields>

impl<Fields> !Sync for DataFrame<Fields>

Blanket Implementations

impl<T> IntoLabeled for T[src]

impl<T> Valued for T where
    T: SelfValued
[src]

type Value = T

The associated value.

impl<T> HasLabels for T[src]

impl<Needle, Haystack> HasLabels for Haystack where
    Haystack: Member<Needle, IsMember = B1>,
    Needle: Label
[src]

impl<Frames, Store> JoinIntoStore for Frames[src]

type Output = Store

The output type after augmenting Store.

impl<Frames> AssocDataIndexCons for Frames[src]

type Output = Nil

Type of associated data index cons-list.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> Same for T[src]

type Output = T

Should always be Self