IAggregator.AggregateBy Method

Aggregates the elements of a data frame column according to the specified grouping and returns the result in an existing vector.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
IVector AggregateBy(
	IVector values,
	IGrouping grouping,
	IVector? result
)

Parameters

values  IVector
A vector holding the values.
grouping  IGrouping
The object that specifies the grouping.
result  IVector
The data frame column that is to hold the result.

Return Value

IVector
The result of aggregating the elements of values according to the groups defined by grouping.

See Also