Returns a hierarchical grouping on two columns.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Grouping<(R1 , R2 )> GroupBy<R1, R2>(
C column1Key,
C column2Key
)
Public Function GroupBy(Of R1, R2) (
column1Key As C,
column2Key As C
) As Grouping(Of ( As R1, As R2))
public:
generic<typename R1, typename R2>
Grouping<ValueTuple<R1, R2>>^ GroupBy(
C column1Key,
C column2Key
)
member GroupBy :
column1Key : 'C *
column2Key : 'C -> Grouping<ValueTuple<'R1, 'R2>>
Parameters
- column1Key
- Type: C
The key of the first grouping column. - column2Key
- Type: C
The key of the second grouping column.
Type Parameters
- R1
- The element type of the first grouping column.
- R2
- The element type of the second grouping column.
Return Value
Type:
GroupingValueTupleR1,
R2
Exception | Condition |
---|
KeyNotFoundException | column1Key could not be found in the column index. -or- column2Key could not be found in the column index. |
InvalidCastException | The column with key column1Key could not be cast
to a vector with element type R1 -or- The column with key column2Key could not be cast
to a vector with element type R2 |
Reference