Data Frame.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#
A new data frame whose row index is the first level of the index of vector, and whose column index is the second level.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.