Matrix<T>.ToDataFrame Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

ToDataFrame<R, C>() Converts a matrix to a data frame with the same row and column indexes.
ToDataFrame<R, C>(Index<R>, Index<C>) Converts a matrix to a data frame with the same row and column indexes.

ToDataFrame<R, C>

Converts a matrix to a data frame with the same row and column indexes.
C#
public DataFrame<R, C> ToDataFrame<R, C>()

Type Parameters

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

Return Value

DataFrame<R, C>
A data frame with the same values as the matrix.

ToDataFrame<R, C>(Index<R>, Index<C>)

Converts a matrix to a data frame with the same row and column indexes.
C#
public DataFrame<R, C> ToDataFrame<R, C>(
	Index<R> rowIndex,
	Index<C> columnIndex
)

Parameters

rowIndex  Index<R>
 
columnIndex  Index<C>
 

Type Parameters

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

Return Value

DataFrame<R, C>
A data frame with the same values as the matrix.

See Also