datareactor.atoms.aggregation module

Classes

AggregationAtom

Apply aggregation functions to child rows.

class datareactor.atoms.aggregation.AggregationAtom[source]

Bases: datareactor.atoms.base.Atom

Apply aggregation functions to child rows.

The AggregationAtom generates derived columns which are the resultt of applying aggregation functions to groups of child rows.

Methods

derive(dataset, table_name)

Apply pandas aggregation functions to groups of rows.

derive(dataset, table_name)[source]

Apply pandas aggregation functions to groups of rows.

Returns

The derived columns.

Return type

(list of DerivedColumn)