Constructs a new data frame using the specified columns as row and column indexes.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public DataFrame<R1, C1> Pivot<R1, C1, T>(
C rows,
C columns,
C values
)
Public Function Pivot(Of R1, C1, T) (
rows As C,
columns As C,
values As C
) As DataFrame(Of R1, C1)
public:
generic<typename R1, typename C1, typename T>
DataFrame<R1, C1>^ Pivot(
C rows,
C columns,
C values
)
member Pivot :
rows : 'C *
columns : 'C *
values : 'C -> DataFrame<'R1, 'C1>
Parameters
- rows
- Type: C
The key of the column that contains the row indexes. - columns
- Type: C
The key of the column that contains the column indexes. - values
- Type: C
The key of the column that contains the values.
Type Parameters
- R1
- The element type of the column that contains the row indexes.
- C1
- The element type of the column that contains the column indexes.
- T
- The element type of the column that contains the values.
Return Value
Type:
DataFrameR1,
C1A new data frame with rows indexed by the unique values in column
rows,
columns indexed by the unique values in column
columns, and values
the corresponding value in
values.
Reference