IAggregator<T>.AggregateBy Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

AggregateBy(IVector, IGrouping, IVector) Aggregates the elements of a data frame column according to the specified grouping and returns the result in an existing vector.
AggregateBy(IVector, IGrouping, Vector<T>) Aggregates the elements of a data frame column according to the specified grouping and returns the result in an existing vector.

AggregateBy(IVector, IGrouping, Vector<T>)

Aggregates the elements of a data frame column according to the specified grouping and returns the result in an existing vector.
C#
Vector<T> AggregateBy(
	IVector values,
	IGrouping grouping,
	Vector<T>? result
)

Parameters

values  IVector
A vector holding the values.
grouping  IGrouping
The object that specifies the grouping.
result  Vector<T>
The vector that is to hold the result.

Return Value

Vector<T>
The result of aggregating the elements of values according to the groups defined by grouping.

See Also