Applies the specified function to selected columns and appends the results
to the end of the data frame.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public DataFrame<R, C> MapAndAppend<T>(
C columnKey,
Func<Vector<T>, IVector> function,
C newColumnKey
)
Public Function MapAndAppend(Of T) (
columnKey As C,
function As Func(Of Vector(Of T), IVector),
newColumnKey As C
) As DataFrame(Of R, C)
public:
generic<typename T>
DataFrame<R, C>^ MapAndAppend(
C columnKey,
Func<Vector<T>^, IVector^>^ function,
C newColumnKey
)
member MapAndAppend :
columnKey : 'C *
function : Func<Vector<'T>, IVector> *
newColumnKey : 'C -> DataFrame<'R, 'C>
Parameters
- columnKey
- Type: C
the key of the column to map. - function
- Type: SystemFuncVectorT, IVector
The function to apply. - newColumnKey
- Type: C
The list of keys of the mapped columns.
If this value is , the original column keys are used.
Type Parameters
- T
Return Value
Type:
DataFrameR,
CA new data frame whose columns are
function applied to the column with key in
columnKey and column keys specified by
newColumnKey.
Exception | Condition |
---|
KeyNotFoundException | One or more of the keys in columnKey
could not be found in the column index. |
Numerical Libraries
Supported in: 6.0
Reference