Data Frame<R, C>.Grouped By<R1> Method
Returns a new data frame by grouping the index by the specified column.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A new data frame indexed by combining the specified column with the existing index.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public DataFrame<(R1 , R ), C> GroupedBy<R1>(
C columnKey
)
Parameters
- columnKey C
- The key of the grouping column.
Type Parameters
- R1
- The element type of the grouping column.
Return Value
DataFrame<ValueTuple<R1, R>, C>A new data frame indexed by combining the specified column with the existing index.
Exceptions
Key | A column with key columnKey could not be found. |
Invalid | The column with key columnKey could not be cast to a vector with element type R1 |