| DataSegment|Complete|Incomplete|a Method |
Complete active pattern that makes it possible to write functions that behave
differently for complete and incomplete segments. For example, the following
returns zero for incomplete segments:
let sumSegmentOrZero = function
| DataSegment.Complete(value) -> Stats.sum value
| DataSegment.Incomplete _ -> 0.0
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax Parameters
- ds
- Type: DeedleDataSegmenta
[Missing <param name="ds"/> documentation for "M:Deedle.DataSegment.|Complete|Incomplete|``1(Deedle.DataSegment{``0})"]
Type Parameters
- a
Return Value
Type:
FSharpChoicea,
a[Missing <returns> documentation for "M:Deedle.DataSegment.|Complete|Incomplete|``1(Deedle.DataSegment{``0})"]
See Also