Constructs a data frame from the specified columns in a data table.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static DataFrame<long, string> FromDataTable(
DataTable table,
IEnumerable<string> columns
)
Public Shared Function FromDataTable (
table As DataTable,
columns As IEnumerable(Of String)
) As DataFrame(Of Long, String)
public:
static DataFrame<long long, String^>^ FromDataTable(
DataTable^ table,
IEnumerable<String^>^ columns
)
static member FromDataTable :
table : DataTable *
columns : IEnumerable<string> -> DataFrame<int64, string>
Parameters
- table
- Type: System.DataDataTable
The DataTable that contains the data. - columns
- Type: System.Collections.GenericIEnumerableString
A sequence of column names.
Return Value
Type:
DataFrameInt64,
StringA new data frame containing the data in the specified columns in
table.
Reference