Applies the specified aggregators to all the columns in the data frame.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public DataFrame<string, C> Aggregate<T, U, V>(
Func<Vector<T>, V> aggregator1,
Func<Vector<U>, V> aggregator2
)
Public Function Aggregate(Of T, U, V) (
aggregator1 As Func(Of Vector(Of T), V),
aggregator2 As Func(Of Vector(Of U), V)
) As DataFrame(Of String, C)
public:
generic<typename T, typename U, typename V>
DataFrame<String^, C>^ Aggregate(
Func<Vector<T>^, V>^ aggregator1,
Func<Vector<U>^, V>^ aggregator2
)
member Aggregate :
aggregator1 : Func<Vector<'T>, 'V> *
aggregator2 : Func<Vector<'U>, 'V> -> DataFrame<string, 'C>
Parameters
- aggregator1
- Type: SystemFuncVectorT, V
A function that aggregates multiple values into one. - aggregator2
- Type: SystemFuncVectorU, V
A function that aggregates multiple values into one.
Type Parameters
- T
- The element type of the input to aggregator1
- U
- The element type of the input to aggregator2
- V
- The type of the result of the aggregation.
Return Value
Type:
DataFrameString,
CA new data frame that contains the result of the aggregations
with rows indexed by the names of the aggregators and columns indexed
by the data frame's column index.
Reference