Constructs a data frame from a data table using the specified key column.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
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.
Reference