DataSegment<'T>
Namespace: Deedle
Represents a segment of a series or sequence. The value is returned from
various functions that aggregate data into chunks or floating windows. The
Complete
case represents complete segment (e.g. of the specified size) and
Boundary
represents segment at the boundary (e.g. smaller than the required
size).
Example
For example (using internal windowed
function):
1: 2: 3: 4: 5: 6: 7: |
|
If you do not need to distinguish the two cases, you can use the Data
property
to get the array representing the segment data.
namespace Deedle
namespace Deedle.Internal
Multiple items
module Seq
from Deedle.Internal
--------------------
module Seq
from Microsoft.FSharp.Collections
module Seq
from Deedle.Internal
--------------------
module Seq
from Microsoft.FSharp.Collections
val windowedWithBounds : size:int -> boundary:Deedle.Boundary -> input:seq<'T> -> seq<Deedle.DataSegment<'T []>>
val fsi : Compiler.Interactive.InteractiveSession
Union Cases
Union Case | Description |
DataSegment(DataSegmentKind,'T)
Signature: DataSegmentKind * 'T
|