Click or drag to resize
FrameModuleReduceValuesT, R, C Method
Returns a series that contains the results of aggregating each column to a single value. The function takes columns that can be converted to the type expected by the specified `op` function and reduces the values in each column using `Series.reduceValues`. ## Example The following sums the values in each column that can be converted to `float` and returns the result as a new series: df |> Frame.reduceValues (fun (a:float) b -> a + b) [category:Frame transformations]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<C, T> ReduceValues<T, R, C>(
	FSharpFunc<T, FSharpFunc<T, T>> op,
	Frame<R, C> frame
)

Parameters

op
Type: Microsoft.FSharp.CoreFSharpFuncT, FSharpFuncT, T

[Missing <param name="op"/> documentation for "M:Deedle.FrameModule.ReduceValues``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,``0}},Deedle.Frame{``1,``2})"]

frame
Type: DeedleFrameR, C

[Missing <param name="frame"/> documentation for "M:Deedle.FrameModule.ReduceValues``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,``0}},Deedle.Frame{``1,``2})"]

Type Parameters

T
R
C

Return Value

Type: SeriesC, T

[Missing <returns> documentation for "M:Deedle.FrameModule.ReduceValues``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,``0}},Deedle.Frame{``1,``2})"]

See Also