Aggregation.First Method

Definition

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

Overload List

First<C>(ColumnSelector) Creates a descriptor that returns first values in selected columns.
First<C>(C) Creates a descriptor that returns the first value in the specified column.

First<C>(ColumnSelector)

Creates a descriptor that returns first values in selected columns.
C#
public static Aggregation<C, string> First<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 first-value aggregation descriptor.

Exceptions

ArgumentNullExceptionselector is null.

First<C>(C)

Creates a descriptor that returns the first value in the specified column.
C#
public static Aggregation<C, string> First<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 first-value aggregation descriptor.

Exceptions

See Also