Click or drag to resize
SeriesModuleChunkWhileIntoK, T, a Method
Aggregates the input into a series of adacent chunks based on a condition on keys. A chunk is started once the specified `cond` function returns `false` when called on the first and the last key of the previous chunk. Each chunk is then aggregated into a value using the specified function `f`. The key of each chunk is the key of the first element in the chunk. ## Parameters - `cond` - A function that is called on the first and the last key of a chunk to determine when a window should end. - `f` - A value selector that is called to aggregate each chunk. - `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> ChunkWhileInto<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.ChunkWhileInto``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.ChunkWhileInto``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.ChunkWhileInto``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.ChunkWhileInto``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