Click or drag to resize

FrameViewGroupByT Method (String, FuncFrameView, T, String)

Groups the data by the values in the given column, and computes the given aggregate quantity for each group.

Namespace:  Meta.Numerics.Data
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public FrameTable GroupBy<T>(
	string groupByColumnName,
	Func<FrameView, T> aggregator,
	string aggregateColumnName
)

Parameters

groupByColumnName
Type: SystemString
The name of the column to group by.
aggregator
Type: SystemFuncFrameView, T
A function that computes the aggregate quantity.
aggregateColumnName
Type: SystemString
The name of the column for the aggregate output.

Type Parameters

T
The type of the aggregate output.

Return Value

Type: FrameTable
A new data frame containing the requested aggregate values for each group.
Remarks
See Also