| SeriesModuleChunkWhileK, T 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. The chunks are then returned as a nested series.
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.
- `series` - The input series to be aggregated.
[category:Grouping, windowing and chunking]
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax public static Series<K, Series<K, T>> ChunkWhile<K, T>(
FSharpFunc<K, FSharpFunc<K, bool>> cond,
Series<K, T> series
)
Parameters
- cond
- Type: Microsoft.FSharp.CoreFSharpFuncK, FSharpFuncK, Boolean
[Missing <param name="cond"/> documentation for "M:Deedle.SeriesModule.ChunkWhile``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Boolean}},Deedle.Series{``0,``1})"]
- series
- Type: DeedleSeriesK, T
[Missing <param name="series"/> documentation for "M:Deedle.SeriesModule.ChunkWhile``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Boolean}},Deedle.Series{``0,``1})"]
Type Parameters
- K
- T
Return Value
Type:
SeriesK,
SeriesK,
T[Missing <returns> documentation for "M:Deedle.SeriesModule.ChunkWhile``2(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``0,System.Boolean}},Deedle.Series{``0,``1})"]
See Also