DataFrame.Unstack<R, C>(IVector) Method

Transforms a vector with a two-level index into a data frame whose columns correspond to the second level in the index.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static DataFrame<R, C> Unstack<R, C>(
	this IVector vector
)

Parameters

vector  IVector
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

DataFrame<R, C>
A 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).

See Also