Constructs a new data frame from a dictionary of columns.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static DataFrame<R, C> FromColumns<R, C>(
IDictionary<C, Object> columns
)
Public Shared Function FromColumns(Of R, C) (
columns As IDictionary(Of C, Object)
) As DataFrame(Of R, C)
public:
generic<typename R, typename C>
static DataFrame<R, C>^ FromColumns(
IDictionary<C, Object^>^ columns
)
static member FromColumns :
columns : IDictionary<'C, Object> -> DataFrame<'R, 'C>
Parameters
- columns
- Type: System.Collections.GenericIDictionaryC, Object
A dictionary that maps column keys to columns.
At least one of the columns must be a vector with an index with
element type R.
Type Parameters
- R
- The type of the row index.
- C
- The type of the column index.
Return Value
Type:
DataFrameR,
CA data frame whose columns are indexed by the keys
of
columns and contain the collections
in the values of
columns. The rows are indexed
by the index of the first column in the dictionary.
Reference