Deedle


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 memberDescription
Aggregation.ChunkSize(size, boundary)
Signature: (size:int * boundary:Boundary) -> Aggregation<'?688340>
Type parameters: '?688340

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).
Aggregation.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.
Aggregation.WindowSize(size, boundary)
Signature: (size:int * boundary:Boundary) -> Aggregation<'?688338>
Type parameters: '?688338

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).
Aggregation.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.
Fork me on GitHub