Vector<T>.To Data Frame Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
ToData | Returns a data frame with the current vector as its only column. |
ToData | Returns a data frame with the current vector as its only column. |
ToDataFrame<C>(C)
Returns a data frame with the current vector as its only column.
public DataFrame<long, C> ToDataFrame<C>(
C columnKey
)
Parameters
- columnKey C
- The column key of the vector in the new data frame.
Type Parameters
- C
- The type of the column key.
Return Value
DataFrame<Int64, C>A data frame with the current vector as its only column.
ToDataFrame<R, C>(Index<R>, C)
Returns a data frame with the current vector as its only column.
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.