Vector<T>.ToDataFrame<R, C>(Index<R>, C) Method

Returns a data frame with the current vector as its only column.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public DataFrame<R, C> ToDataFrame<R, C>(
	Index<R> rowIndex,
	C columnKey
)

Parameters

rowIndex  Index<R>
The row index of the new data frame.
columnKey  C
The column key of the vector in the new data frame.

Type Parameters

R
The element type of the row index.
C
The type of the column key.

Return Value

DataFrame<R, C>
A data frame with the current vector as its only column.

See Also