Header menu logo Deedle

Lookup Type

Represents different behaviors of key lookup in series. For unordered series, the only available option is `Lookup.Exact` which finds the exact key - methods fail or return missing value if the key is not available in the index. For ordered series `Lookup.Greater` finds the first greater key (e.g. later date) with a value. `Lookup.Smaller` searches for the first smaller key. The options `Lookup.ExactOrGreater` and `Lookup.ExactOrSmaller` finds the exact key (if it is present) and otherwise search for the nearest larger or smaller key, respectively.

Record fields

Record Field Description

Exact

Full Usage: Exact

Field type: Lookup
Modifiers: static

Lookup a value associated with the exact specified key. If the key is not available, then fail or return missing value.

Field type: Lookup

ExactOrGreater

Full Usage: ExactOrGreater

Field type: Lookup
Modifiers: static

Lookup a value associated with the specified key or with the nearest greater key that has a value available. Fails (or returns missing value) only when the specified key is greater than all available keys.

Field type: Lookup

ExactOrSmaller

Full Usage: ExactOrSmaller

Field type: Lookup
Modifiers: static

Lookup a value associated with the specified key or with the nearest smaller key that has a value available. Fails (or returns missing value) only when the specified key is smaller than all available keys.

Field type: Lookup

Greater

Full Usage: Greater

Field type: Lookup
Modifiers: static

Lookup a value associated with a key that is greater than the specified one. Fails (or returns missing value) when the specified key is greater or equal to the greatest available key.

Field type: Lookup

Smaller

Full Usage: Smaller

Field type: Lookup
Modifiers: static

Lookup a value associated with a key that is smaller than the specified one. Fails (or returns missing value) when the specified key is smaller or equal to the smallest available key.

Field type: Lookup

Type something to start searching.