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

pub struct DataFrame<FrameFields, FramedStore> { /* fields omitted */ }

A data frame. A reference to the underlying data store along with record-based filtering and sorting details. FrameFields is a FieldLookupCons cons-list which maps a single label to one or more underlying store labels.

Methods

impl<FrameFields, FramedStore> DataFrame<FrameFields, FramedStore> where
    FramedStore: 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, FramedStore> SelfValued for DataFrame<FrameFields, FramedStore>[src]

Allow DataFrames to be pulled from LVCons as Values

impl<FrameFields, FramedStore> IntoView for DataFrame<FrameFields, FramedStore> where
    FrameFields: AssocFrameLookup
[src]

type Labels = <FrameFields as AssocFrameLookup>::Output

The Labels type parameter for the output DataView.

type Frames = LVCons<UTerm, Self, Nil>

The Frames type parameter for the output DataView.

type Output = DataView<Self::Labels, Self::Frames>

The output DataView (should always be DataView<Self::Labels, Self::Frames>).

impl<FrameFields, FramedStore> NRows for DataFrame<FrameFields, FramedStore> where
    FramedStore: NRows
[src]

impl<FrameIndex, FrameFields, FramedStore> AsFrameLookup<FrameIndex> for DataFrame<FrameFields, FramedStore> where
    FrameFields: AsFrameLookup<FrameIndex>, 
[src]

type Output = <FrameFields as AsFrameLookup<FrameIndex>>::Output

The computed FrameLookupCons.

impl<FrameFields, FramedStore> UpdatePermutation for DataFrame<FrameFields, FramedStore>[src]

impl<FrameFields, FramedStore> FieldSelect for DataFrame<FrameFields, FramedStore>[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<FrameFields, FramedStore, Label> SelectFieldByLabel<Label> for DataFrame<FrameFields, FramedStore> where
    FrameFields: SelectAndFrame<Label, FramedStore>, 
[src]

type DType = <FrameFields as SelectAndFrame<Label, FramedStore>>::DType

Data type of accessed data.

type Output = Framed<Self::DType, <FrameFields as SelectAndFrame<Label, FramedStore>>::Field>

The return type for the select_field method.

impl<FrameFields, FramedStore> Clone for DataFrame<FrameFields, FramedStore>[src]

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

Performs copy-assignment from source. Read more

impl<StoreFields> From<DataStore<StoreFields>> for DataFrame<<StoreFields as SimpleFrameFields>::Fields, DataStore<StoreFields>> where
    StoreFields: AssocStorage + SimpleFrameFields
[src]

impl<Labels, Frames> From<DataView<Labels, Frames>> for DataFrame<<Labels as SimpleFrameFields>::Fields, DataView<Labels, Frames>> where
    Labels: SimpleFrameFields
[src]

impl<FrameFields: Debug, FramedStore: Debug> Debug for DataFrame<FrameFields, FramedStore>[src]

Auto Trait Implementations

impl<FrameFields, FramedStore> !Send for DataFrame<FrameFields, FramedStore>

impl<FrameFields, FramedStore> !Sync for DataFrame<FrameFields, FramedStore>

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<DI> NRows for DI where
    DI: DataIndex
[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 = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?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

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T[src]

type Output = T

Should always be Self