Aggregation.Mode Method

Definition

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

Overload List

Mode<C>(ColumnSelector) Creates a descriptor that computes the mode of selected columns.
Mode<C>(C) Creates a descriptor that computes the mode of the specified column.

Mode<C>(ColumnSelector)

Creates a descriptor that computes the mode of selected columns.
C#
public static Aggregation<C, string> Mode<C>(
	ColumnSelector selector
)

Parameters

selector  ColumnSelector
The selector that identifies columns to aggregate.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A mode aggregation descriptor.

Exceptions

ArgumentNullExceptionselector is null.

Mode<C>(C)

Creates a descriptor that computes the mode of the specified column.
C#
public static Aggregation<C, string> Mode<C>(
	C key
)

Parameters

key  C
The key of the column to aggregate.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A mode aggregation descriptor.

Exceptions

See Also