Header menu logo Deedle

Direction Type

Specifies in which direction should we look when performing operations such as `Series.Pairwise`.

Example

 let abc =
   [ 1 => "a"; 2 => "b"; 3 => "c" ]
   |> Series.ofObservations

 // Using 'Forward' the key of the first element is used
 abc.Pairwise(direction=Direction.Forward)
 // [ 1 => ("a", "b"); 2 => ("b", "c") ]

 // Using 'Backward' the key of the second element is used
 abc.Pairwise(direction=Direction.Backward)
 // [ 2 => ("a", "b"); 3 => ("b", "c") ]
val abc: obj

Record fields

Record Field Description

Backward

Full Usage: Backward

Field type: Direction
Modifiers: static
Field type: Direction

Forward

Full Usage: Forward

Field type: Direction
Modifiers: static
Field type: Direction

Type something to start searching.