Struct agnes::view::DataView [] [src]

pub struct DataView { /* fields omitted */ }

A 'view' into a data store. The primary struct for viewing and manipulating data.

Methods

impl DataView
[src]

[src]

Generate a new subview of this DataView.

[src]

Generate a new subview of this DataView, generating an error if a specified field does not exist.

[src]

Number of rows in this data view

[src]

Returns true if the DataView is empty (has no rows or has no fields)

[src]

Number of fields in this data view

[src]

Field names in this data view

[src]

Return the field type for specified field

[src]

Returns true if this DataView contains this field.

[src]

Rename a field of this DataView.

[src]

Merge this DataView with another DataView object, creating a new DataView with the same number of rows and all the fields from both source DataView objects.

[src]

Combine two DataView objects using specified join, creating a new DataStore object with a subset of records from the two source DataViews according to the join parameters.

Note that since this is creating a new DataStore object, it will be allocated new data to store the contents of the joined DataViews.

impl DataView
[src]

[src]

Create a FieldView object from a DataView object, if possible. Typically, use this on DataView objects with only a single field; however, if the DataView object has multiple fields, the first one will be used for this FieldView. Returns None if the DataView has no fields (is empty).

Trait Implementations

impl Debug for DataView
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DataView
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for DataView
[src]

[src]

Returns the "default value" for a type. Read more

impl<T> Filter<T> for DataView where
    DataFrame: Filter<T>, 
[src]

[src]

Filter the contents of this data structure by applying the supplied predicate on the specified field. Read more

impl SortBy for DataView
[src]

[src]

Sort the contents of this data structure (ascending) by the specified field.

impl<'a> ApplyToElem<FieldIndexSelector<'a>> for DataView
[src]

[src]

Apply an ElemFn to an element selected with the provided Selector.

impl<'a> ApplyToField<FieldSelector<'a>> for DataView
[src]

[src]

Apply a FieldFn to a field selected with the provided Selector.

impl<'a> ApplyToField2<FieldSelector<'a>> for DataView
[src]

[src]

Apply a Field2Fn (a function that operates simultaneously on fields from two different sources) to fields selected with the provided Selectors. Read more

impl From<DataStore> for DataView
[src]

[src]

Performs the conversion.

impl Display for DataView
[src]

[src]

Formats the value using the given formatter. Read more

impl Serialize for DataView
[src]

[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl !Send for DataView

impl !Sync for DataView