Returns a new data frame that contains the selected rows and uses the specified
row index.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
protected virtual DataFrame<R1, C> SelectRows<R1>(
Index<R1> index,
int[] rowIndexes
)
Protected Overridable Function SelectRows(Of R1) (
index As Index(Of R1),
rowIndexes As Integer()
) As DataFrame(Of R1, C)
protected:
generic<typename R1>
virtual DataFrame<R1, C>^ SelectRows(
Index<R1>^ index,
array<int>^ rowIndexes
)
abstract SelectRows :
index : Index<'R1> *
rowIndexes : int[] -> DataFrame<'R1, 'C>
override SelectRows :
index : Index<'R1> *
rowIndexes : int[] -> DataFrame<'R1, 'C>
Parameters
- index
- Type: Extreme.DataAnalysisIndexR1
The new row index. - rowIndexes
- Type: SystemInt32
The indices of the rows to include in the new data frame.
Type Parameters
- R1
- The element type of the row index.
Return Value
Type:
DataFrameR1,
CA new data frame.
Exception | Condition |
---|
ArgumentOutOfRangeException | One or more values in rowIndexes
is less than zero or greater than or equal to the number of rows in the data frame. |
Reference