Data Frame<R, C>.Unstack<T> Method
Converts a data frame from long to wide format.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A data frame
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public DataFrame<long, C> Unstack<T>(
IEnumerable<C> idColumns,
C variableKey,
C valueKey
)
Parameters
- idColumns IEnumerable<C>
- A sequence of keys for the identifier columns.
- variableKey C
- The key of the column that contains the variable keys.
- valueKey C
- The key of the column that contains the values.
Type Parameters
- T
Return Value
DataFrame<Int64, C>A data frame