Data Frame<R, C>.Combine With<T> Method
Combines the data frame with another data frame, aligning the two
data frames and using the specified function to generate the
value for common values.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A new data frame that contains all values from both data frames. If both data frames have a value for a pair of row and column keys, the value is the combiner applied to the two values.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public DataFrame<R, C> CombineWith<T>(
DataFrame<R, C> other,
Func<T, T, T> combiner
)
Parameters
- other DataFrame<R, C>
- Another data frame.
- combiner Func<T, T, T>
- A function that combines two values into a new value.
Type Parameters
- T
- The type of the values.
Return Value
DataFrame<R, C>A new data frame that contains all values from both data frames. If both data frames have a value for a pair of row and column keys, the value is the combiner applied to the two values.