GroupingTemplate<TKey> Class

Represents a reusable dataframe-level recipe for creating a realized grouping.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
public abstract class GroupingTemplate<TKey>
Inheritance
Object  →  GroupingTemplate<TKey>

Type Parameters

TKey
The type of the group keys produced when the template is bound.

Remarks

A grouping template is generic over the group-key type, not over the row-key or column-key type of a data frame. The template does not contain group membership itself and is not a subclass of Grouping<TKey>.

Call Bind(IDataFrame) to bind the template to a concrete data frame and produce an existing realized Grouping<TKey>. The first implementation slice supports single-column dataframe grouping only.

Constructors

GroupingTemplate<TKey>Initializes a new instance of the GroupingTemplate<TKey> class

Methods

Bind Binds this template to a data frame and returns a realized grouping.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also