Vector<T>.To Data Frame Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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.