Transforms a vector with a two-level index into a data frame whose columns
correspond to the second level in the index.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static DataFrame<R, C> Unstack<R, C>(
this IVector vector
)
<ExtensionAttribute>
Public Shared Function Unstack(Of R, C) (
vector As IVector
) As DataFrame(Of R, C)
public:
[ExtensionAttribute]
generic<typename R, typename C>
static DataFrame<R, C>^ Unstack(
IVector^ vector
)
[<ExtensionAttribute>]
static member Unstack :
vector : IVector -> DataFrame<'R, 'C>
Parameters
- vector
- Type: Extreme.MathematicsIVector
The vector to transform.
Type Parameters
- R
- The element type of the first level of the index.
- C
- The element type of the second level of the index.
Return Value
Type:
DataFrameR,
CA new data frame whose row index is the first level of
the index of
vector, and whose column index is
the second level.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IVector. 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