Click or drag to resize
SeriesModuleWindowWhileIntoK, T, a Method
Creates a sliding window based on a condition on keys. A window is started at each input element and ends once the specified `cond` function returns `false` when called on the first and the last key of the window. Each window is then aggregated into a value using the specified function `f`. The key of each window is the key of the first element in the window. ## Parameters - `cond` - A function that is called on the first and the last key of a window to determine when a window should end. - `f` - A function that is used to aggregate each window into a single value. - `series` - The input series to be aggregated. [category:Grouping, windowing and chunking]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, a> WindowWhileInto<K, T, a>(
	FSharpFunc<K, FSharpFunc<K, bool>> cond,
	FSharpFunc<Series<K, T>, a> f,
	Series<K, T> series
)

Parameters

cond
Type: Microsoft.FSharp.CoreFSharpFuncK, FSharpFuncK, Boolean

[Missing <param name="cond"/> documentation for "M:Deedle.SeriesModule.WindowWhileInto``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Boolean}},Microsoft.FSharp.Core.FSharpFunc{Deedle.Series{``0,``1},``2},Deedle.Series{``0,``1})"]

f
Type: Microsoft.FSharp.CoreFSharpFuncSeriesK, T, a

[Missing <param name="f"/> documentation for "M:Deedle.SeriesModule.WindowWhileInto``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Boolean}},Microsoft.FSharp.Core.FSharpFunc{Deedle.Series{``0,``1},``2},Deedle.Series{``0,``1})"]

series
Type: DeedleSeriesK, T

[Missing <param name="series"/> documentation for "M:Deedle.SeriesModule.WindowWhileInto``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Boolean}},Microsoft.FSharp.Core.FSharpFunc{Deedle.Series{``0,``1},``2},Deedle.Series{``0,``1})"]

Type Parameters

K
T
a

Return Value

Type: SeriesK, a

[Missing <returns> documentation for "M:Deedle.SeriesModule.WindowWhileInto``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Boolean}},Microsoft.FSharp.Core.FSharpFunc{Deedle.Series{``0,``1},``2},Deedle.Series{``0,``1})"]

See Also