Creates a new data frame containing the specified properties of a sequence of objects.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static DataFrame<long, string> FromObjects<T>(
IEnumerable<T> sequence,
params string[] propertyNames
)
Public Shared Function FromObjects(Of T) (
sequence As IEnumerable(Of T),
ParamArray propertyNames As String()
) As DataFrame(Of Long, String)
public:
generic<typename T>
static DataFrame<long long, String^>^ FromObjects(
IEnumerable<T>^ sequence,
... array<String^>^ propertyNames
)
static member FromObjects :
sequence : IEnumerable<'T> *
propertyNames : string[] -> DataFrame<int64, string>
Parameters
- sequence
- Type: System.Collections.GenericIEnumerableT
A sequence of objects of type T. - propertyNames
- Type: SystemString
A parameter array of strings that contains the names
of the properties to include in the data frame.
Type Parameters
- T
- The type of the objects.
Return Value
Type:
DataFrameInt64,
StringA data frame whose columns contain the values of the properties
specified by
propertyNames of the objects in
sequence.
Reference