Projects each row of a data frame into a sequence of values,
flattens all the sequences into one sequence.
Namespace:
Extreme.DataAnalysis.Linq
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static IEnumerable<TResult> SelectMany<R, C, TResult>(
this DataFrame<R, C> frame,
Func<DataFrameRow<R, C>, int, IEnumerable<TResult>> selector
)
<ExtensionAttribute>
Public Shared Function SelectMany(Of R, C, TResult) (
frame As DataFrame(Of R, C),
selector As Func(Of DataFrameRow(Of R, C), Integer, IEnumerable(Of TResult))
) As IEnumerable(Of TResult)
public:
[ExtensionAttribute]
generic<typename R, typename C, typename TResult>
static IEnumerable<TResult>^ SelectMany(
DataFrame<R, C>^ frame,
Func<DataFrameRow<R, C>^, int, IEnumerable<TResult>^>^ selector
)
[<ExtensionAttribute>]
static member SelectMany :
frame : DataFrame<'R, 'C> *
selector : Func<DataFrameRow<'R, 'C>, int, IEnumerable<'TResult>> -> IEnumerable<'TResult>
Parameters
- frame
- Type: Extreme.DataAnalysisDataFrameR, C
A data frame to project. - selector
- Type: SystemFuncDataFrameRowR, C, Int32, IEnumerableTResult
A function to apply to each row.
Type Parameters
- R
- The element type of the row index of the data frame.
- C
- The element type of the column index of the data frame.
- TResult
- The type of the value returned by selector.
Return Value
Type:
IEnumerableTResultA vector whose elements are the result of invoking the one-to-many function
selector on each row of the data frame.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataFrameR,
C. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference