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.17114.0)
public DataFrame<Tuple<R1, R2>, C> WithRowIndex<R1, R2>(
C column1Key,
C column2Key
)
Public Function WithRowIndex(Of R1, R2) (
column1Key As C,
column2Key As C
) As DataFrame(Of Tuple(Of R1, R2), C)
public:
generic<typename R1, typename R2>
DataFrame<Tuple<R1, R2>^, C>^ WithRowIndex(
C column1Key,
C column2Key
)
member WithRowIndex :
column1Key : 'C *
column2Key : 'C -> DataFrame<Tuple<'R1, 'R2>, 'C>
Parameters
- column1Key
- Type: C
The key of the first column. - column2Key
- 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.
Return Value
Type:
DataFrameTupleR1,
R2,
CA new data frame that contains all the columns in the current data frame
indexed by
column1Key and
column2Key.
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 |
Numerical Libraries
Supported in: 5.x
Reference