Aggregation
Namespace: Deedle
A non-generic type that simplifies the construction of Aggregation<K>
values
from C#. It provides methods for constructing different kinds of aggregation
strategies for ordered series.
Static members
Static member | Description |
ChunkSize(size, boundary)
Signature: (size:int * boundary:Boundary) -> Aggregation<'?493239>
Type parameters: '?493239
|
Aggregate data into non-overlapping chunks of a specified size
and the provided handling of boundary elements.
Parameters
size - Specifies the size of the floating window. Depending on the
boundary behavior, the actual created windows may be smaller.
boundary - Specifies how to handle boundaries (when there is not
enough data to create an entire window).
|
ChunkWhile(condition)
Signature: condition:Func<'K,'K,bool> -> Aggregation<'K>
Type parameters: 'K
|
Aggregate data into non-overlapping chunks where each chunk ends as soon
as the specified function returns false when called with the
first key and the current key as arguments.
Parameters
condition - A delegate that specifies when to end the current chunk
(e.g. (k1, k2) => k2 - k1 < 10 means that the difference between keys
in each chunk will be less than 10.
|
WindowSize(size, boundary)
Signature: (size:int * boundary:Boundary) -> Aggregation<'?493237>
Type parameters: '?493237
|
Aggregate data into floating windows of a specified size
and the provided handling of boundary elements.
Parameters
size - Specifies the size of the floating window. Depending on the
boundary behavior, the actual created windows may be smaller.
boundary - Specifies how to handle boundaries (when there is not
enough data to create an entire window).
|
WindowWhile(condition)
Signature: condition:Func<'K,'K,bool> -> Aggregation<'K>
Type parameters: 'K
|
Aggregate data into floating windows where each window ends as soon
as the specified function returns false when called with the
first key and the current key as arguments.
Parameters
condition - A delegate that specifies when to end the current window
(e.g. (k1, k2) => k2 - k1 < 10 means that the difference between keys
in each window will be less than 10.
|