Constructs a data frame from a data table using the specified key column.
Namespace: Extreme.CollectionsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static DataFrame<R, string> FromDataTable<R>(
DataTable table,
string keyColumn
)
Public Shared Function FromDataTable(Of R) (
table As DataTable,
keyColumn As String
) As DataFrame(Of R, String)
public:
generic<typename R>
static DataFrame<R, String^>^ FromDataTable(
DataTable^ table,
String^ keyColumn
)
static member FromDataTable :
table : DataTable *
keyColumn : string -> DataFrame<'R, string>
Parameters
- table
- Type: System.DataDataTable
The DataTable that contains the data. - keyColumn
- Type: SystemString
The name of the column that contains the row index values.
Type Parameters
- R
- The element type of the row index.
Return Value
Type:
DataFrameR,
StringA new data frame containing the data in
table.
Numerical Libraries
Supported in: 5.x
Reference