Returns a new data frame using the specified columns as a hierarchical index.
Namespace: Extreme.CollectionsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public DataFrame<Tuple<R1, R2, R3>, C> WithRowIndex<R1, R2, R3>(
C column1Key,
C column2Key,
C column3Key
)
Public Function WithRowIndex(Of R1, R2, R3) (
column1Key As C,
column2Key As C,
column3Key As C
) As DataFrame(Of Tuple(Of R1, R2, R3), C)
public:
generic<typename R1, typename R2, typename R3>
DataFrame<Tuple<R1, R2, R3>^, C>^ WithRowIndex(
C column1Key,
C column2Key,
C column3Key
)
member WithRowIndex :
column1Key : 'C *
column2Key : 'C *
column3Key : 'C -> DataFrame<Tuple<'R1, 'R2, 'R3>, 'C>
Parameters
- column1Key
- Type: C
The key of the first column. - column2Key
- Type: C
The key of the second column. - column3Key
- Type: C
The key of the second column.
Type Parameters
- R1
- The element type of the first column.
- R2
- The element type of the second column.
- R3
- The element type of the second column.
Return Value
Type:
DataFrameTupleR1,
R2,
R3,
CA new data frame that contains all the columns in the current data frame
indexed by
column1Key,
column2Key,
and
column3Key.
Exception | Condition |
---|
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 -or- The column with key column3Key could not be cast
to a vector with element type R3 |
Numerical Libraries
Supported in: 5.x
Reference