pub struct Transformer {
    pub name: String,
    pub from_col: String,
}
Expand description

A struct for building a Transform, which you can use with Pipeline::transform_into.

Fields§

§name: String§from_col: String

Implementations§

Specify which column the transform should be based on

Keep the unique values from this column

Sum the values in this column.

Reduce the values from this column into a single value using a closure.

Count the rows that were reduced into this row.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.