Struct agnes::frame::DataFrame
[−]
[src]
pub struct DataFrame { /* fields omitted */ }
A data frame. A DataStore
reference along with record-based filtering and sorting details.
Methods
impl DataFrame
[src]
pub fn nrows(&self) -> usize
[src]
Number of rows that pass the filter in this frame.
pub fn get_field_type(&self, ident: &FieldIdent) -> Option<FieldType>
[src]
Get the field type of a particular field in the underlying DataStore
.
pub fn has_field(&self, s: &FieldIdent) -> bool
[src]
Returns true
if this DataFrame
contains this field.
Trait Implementations
impl Debug for DataFrame
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DataFrame
[src]
fn clone(&self) -> DataFrame
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Filter<u64> for DataFrame
[src]
fn filter<F: Fn(&u64) -> bool>(
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
[src]
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
Filter the contents of this data structure by applying the supplied predicate on the specified field. Read more
impl Filter<i64> for DataFrame
[src]
fn filter<F: Fn(&i64) -> bool>(
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
[src]
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
Filter the contents of this data structure by applying the supplied predicate on the specified field. Read more
impl Filter<String> for DataFrame
[src]
fn filter<F: Fn(&String) -> bool>(
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
[src]
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
Filter the contents of this data structure by applying the supplied predicate on the specified field. Read more
impl Filter<bool> for DataFrame
[src]
fn filter<F: Fn(&bool) -> bool>(
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
[src]
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
Filter the contents of this data structure by applying the supplied predicate on the specified field. Read more
impl Filter<f64> for DataFrame
[src]
fn filter<F: Fn(&f64) -> bool>(
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
[src]
&mut self,
ident: &FieldIdent,
pred: F
) -> Result<Vec<usize>>
Filter the contents of this data structure by applying the supplied predicate on the specified field. Read more
impl SortBy for DataFrame
[src]
fn sort_by(&mut self, ident: &FieldIdent) -> Result<Vec<usize>>
[src]
Sort the contents of this data structure (ascending) by the specified field.
impl<'a> ApplyToElem<FieldIndexSelector<'a>> for DataFrame
[src]
fn apply_to_elem<T: ElemFn>(
&self,
f: T,
select: FieldIndexSelector
) -> Result<T::Output>
[src]
&self,
f: T,
select: FieldIndexSelector
) -> Result<T::Output>
Apply an ElemFn
to an element selected with the provided Selector
.
impl<'a> ApplyToField<FieldSelector<'a>> for DataFrame
[src]
fn apply_to_field<F: FieldFn>(
&self,
f: F,
select: FieldSelector
) -> Result<F::Output>
[src]
&self,
f: F,
select: FieldSelector
) -> Result<F::Output>
Apply a FieldFn
to a field selected with the provided Selector
.