[−][src]Struct agnes::frame::DataFrame
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]
FramedStore: NRows,
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 DataFrame
s to be pulled from LVCons
as Value
s
impl<FrameFields, FramedStore> IntoView for DataFrame<FrameFields, FramedStore> where
FrameFields: AssocFrameLookup,
[src]
FrameFields: AssocFrameLookup,
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>
).
fn into_view(self) -> Self::Output
[src]
impl<FrameFields, FramedStore> NRows for DataFrame<FrameFields, FramedStore> where
FramedStore: NRows,
[src]
FramedStore: NRows,
impl<FrameIndex, FrameFields, FramedStore> AsFrameLookup<FrameIndex> for DataFrame<FrameFields, FramedStore> where
FrameFields: AsFrameLookup<FrameIndex>,
[src]
FrameFields: AsFrameLookup<FrameIndex>,
type Output = <FrameFields as AsFrameLookup<FrameIndex>>::Output
The computed FrameLookupCons
.
impl<FrameFields, FramedStore> UpdatePermutation for DataFrame<FrameFields, FramedStore>
[src]
fn update_permutation(self, new_permutation: &[usize]) -> Self
[src]
impl<FrameFields, FramedStore> FieldSelect for DataFrame<FrameFields, FramedStore>
[src]
fn field<Label>(&self) -> Self::Output where
Self: SelectFieldByLabel<Label>,
[src]
Self: SelectFieldByLabel<Label>,
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]
FrameFields: SelectAndFrame<Label, FramedStore>,
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.
fn select_field(&self) -> Self::Output
[src]
impl<FrameFields, FramedStore> Clone for DataFrame<FrameFields, FramedStore>
[src]
fn clone(&self) -> 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]
StoreFields: AssocStorage + SimpleFrameFields,
fn from(
store: DataStore<StoreFields>
) -> DataFrame<<StoreFields as SimpleFrameFields>::Fields, DataStore<StoreFields>>
[src]
store: DataStore<StoreFields>
) -> DataFrame<<StoreFields as SimpleFrameFields>::Fields, DataStore<StoreFields>>
impl<Labels, Frames> From<DataView<Labels, Frames>> for DataFrame<<Labels as SimpleFrameFields>::Fields, DataView<Labels, Frames>> where
Labels: SimpleFrameFields,
[src]
Labels: SimpleFrameFields,
fn from(
view: DataView<Labels, Frames>
) -> DataFrame<<Labels as SimpleFrameFields>::Fields, DataView<Labels, Frames>>
[src]
view: DataView<Labels, Frames>
) -> DataFrame<<Labels as SimpleFrameFields>::Fields, DataView<Labels, Frames>>
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]
T: SelfValued,
type Value = T
The associated value.
fn value_ref(&Self) -> &T
[src]
fn value_mut(&mut Self) -> &mut T
[src]
fn value(Self) -> <T as Valued>::Value
[src]
impl<T> HasLabels for T
[src]
impl<Needle, Haystack> HasLabels for Haystack where
Haystack: Member<Needle, IsMember = B1>,
Needle: Label,
[src]
Haystack: Member<Needle, IsMember = B1>,
Needle: Label,
impl<DI> NRows for DI where
DI: DataIndex,
[src]
DI: DataIndex,
impl<Frames, Store> JoinIntoStore for Frames
[src]
type Output = Store
The output type after augmenting Store
.
fn join_into_store(&Self, Store, &[usize]) -> Result<Store, AgnesError>
[src]
impl<Frames> AssocDataIndexCons for Frames
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Erased for T
impl<T> Same for T
[src]
type Output = T
Should always be Self