Returns a data frame containing the rows where the first
level of the index has the specified value.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static DataFrame<(R2 , R3 ), C> GetRows<R1, R2, R3, C>(
this DataFrame<(R1 , R2 , R3 ), C> frame,
R1 key
)
<ExtensionAttribute>
Public Shared Function GetRows(Of R1, R2, R3, C) (
frame As DataFrame(Of ( As R1, As R2, As R3), C),
key As R1
) As DataFrame(Of ( As R2, As R3), C)
public:
[ExtensionAttribute]
generic<typename R1, typename R2, typename R3, typename C>
static DataFrame<ValueTuple<R2, R3>, C>^ GetRows(
DataFrame<ValueTuple<R1, R2, R3>, C>^ frame,
R1 key
)
[<ExtensionAttribute>]
static member GetRows :
frame : DataFrame<ValueTuple<'R1, 'R2, 'R3>, 'C> *
key : 'R1 -> DataFrame<ValueTuple<'R2, 'R3>, 'C>
Parameters
- frame
- Type: Extreme.DataAnalysisDataFrameValueTupleR1, R2, R3, C
A data frame. - key
- Type: R1
A key in the first level of the index.
Type Parameters
- R1
- The type of the first level of the index.
- R2
- The type of the second level of the index.
- R3
- The type of the third level of the index.
- C
- The element type of the column index.
Return Value
Type:
DataFrameValueTupleR2,
R3,
CA data frame with a two-level hierarchical row indexes
with levels of type
R2 and
R3
that contains the rows of
frame whose key
has the value
key at the first level.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataFrameValueTupleR1,
R2,
R3,
C. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference