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, W>(
Func<Vector<T>, W> aggregator1,
Func<Vector<U>, W> aggregator2,
Func<Vector<V>, W> aggregator3
)
Public Function Aggregate(Of T, U, V, W) (
aggregator1 As Func(Of Vector(Of T), W),
aggregator2 As Func(Of Vector(Of U), W),
aggregator3 As Func(Of Vector(Of V), W)
) As DataFrame(Of String, C)
public:
generic<typename T, typename U, typename V, typename W>
DataFrame<String^, C>^ Aggregate(
Func<Vector<T>^, W>^ aggregator1,
Func<Vector<U>^, W>^ aggregator2,
Func<Vector<V>^, W>^ aggregator3
)
member Aggregate :
aggregator1 : Func<Vector<'T>, 'W> *
aggregator2 : Func<Vector<'U>, 'W> *
aggregator3 : Func<Vector<'V>, 'W> -> DataFrame<string, 'C>
Parameters
- aggregator1
- Type: SystemFuncVectorT, W
A function that aggregates multiple values into one. - aggregator2
- Type: SystemFuncVectorU, W
A function that aggregates multiple values into one. - aggregator3
- Type: SystemFuncVectorV, W
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 element type of the input to aggregator3
- W
- 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