IBinaryAggregator<TResult>.AggregateBy Method

Definition

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

Overload List

AggregateBy(IVector, 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, IVector, IGrouping, Vector<TResult>) Aggregates the elements of a data frame column according to the specified grouping and returns the result in an existing vector.

AggregateBy(IVector, IVector, IGrouping, Vector<TResult>)

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

Parameters

values1  IVector
A vector of values.
values2  IVector
A vector of values.
grouping  IGrouping
The object that specifies the grouping.
result  Vector<TResult>
The vector that is to hold the result.

Return Value

Vector<TResult>
The result of aggregating the corresponding elements of values1 and values2 according to the groups defined by grouping.

See Also