Series
Series module comment..
Table of contents
- Appending, joining and zipping
- Data structure manipulation
- Joining, zipping and appending
- Lookup, resampling and scaling
- Missing values
- Statistics
- Windowing, chunking and grouping
- Other module members
Appending, joining and zipping
Functions and values
Function or value | Description |
append series1 series2
Signature:series1:Series<'K,'V> -> series2:Series<'K,'V> -> Series<'K,'V>
Type parameters: 'K, 'V |
|
zip series1 series2
Signature:series1:Series<'K,'V1> -> series2:Series<'K,'V2> -> Series<'K,('V1 opt * 'V2 opt)>
Type parameters: 'K, 'V1, 'V2 |
|
zipAlign kind lookup series1 series2
Signature:kind:JoinKind -> lookup:Lookup -> series1:Series<'K,'V1> -> series2:Series<'K,'V2> -> Series<'K,('V1 opt * 'V2 opt)>
Type parameters: 'K, 'V1, 'V2 |
|
zipInner series1 series2
Signature:series1:Series<'K,'V1> -> series2:Series<'K,'V2> -> Series<'K,('V1 * 'V2)>
Type parameters: 'K, 'V1, 'V2 |
Data structure manipulation
Functions and values
Function or value | Description |
orderByKey series
Signature:series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
Returns a new series whose entries are reordered according to index order Parameters
|
Joining, zipping and appending
Functions and values
Function or value | Description |
union series1 series2
Signature:series1:Series<'K,'V> -> series2:Series<'K,'V> -> Series<'K,'V>
Type parameters: 'K, 'V |
|
unionUsing behavior series1 series2
Signature:behavior:UnionBehavior -> series1:Series<'K,'V> -> series2:Series<'K,'V> -> Series<'K,'V>
Type parameters: 'K, 'V |
|
zipAlignInto (...)
Signature:kind:JoinKind -> lookup:Lookup -> op:('V1 -> 'V2 -> 'R) -> series1:Series<'K,'V1> -> series2:Series<'K,'V2> -> Series<'K,'R>
Type parameters: 'V1, 'V2, 'R, 'K |
|
zipInto op series1 series2
Signature:op:('V1 -> 'V2 -> 'R) -> series1:Series<'K,'V1> -> series2:Series<'K,'V2> -> Series<'K,'R>
Type parameters: 'V1, 'V2, 'R, 'K |
Lookup, resampling and scaling
More stuff here
Functions and values
Function or value | Description |
lookupTime interval dir lookup series
Signature:interval:TimeSpan -> dir:Direction -> lookup:Lookup -> series:Series<^K,^V> -> Series<^K,^V>
Type parameters: ^K, ^V |
Finds values at, or near, the specified times in a given series. The operation generates
keys starting from the smallest key of the original series, using the specified Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
lookupTimeAt (...)
Signature:start:^K -> interval:TimeSpan -> dir:Direction -> lookup:Lookup -> series:Series<^K,^V> -> Series<^K,^V>
Type parameters: ^K, ^V |
Finds values at, or near, the specified times in a given series. The operation generates
keys starting at the specified Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
resample keys dir series
Signature:keys:seq<'K> -> dir:Direction -> series:Series<'K,'V> -> Series<'K,Series<'K,'V>>
Type parameters: 'K, 'V |
Resample the series based on a provided collection of keys. The values of the series
are aggregated into chunks based on the specified keys. Depending on Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
resampleEquiv keyProj series
Signature:keyProj:('K1 -> 'K2) -> series:Series<'K1,'V1> -> Series<'K2,Series<'K1,'V1>>
Type parameters: 'K1, 'K2, 'V1 |
Resample the series based on equivalence class on the keys. A specified function
Parameters
RemarksThis function is similar to This operation is only supported on ordered series. The method throws
|
resampleEquivInto keyProj f series
Signature:keyProj:('K1 -> 'K2) -> f:(Series<'K1,'V1> -> 'V2) -> series:Series<'K1,'V1> -> Series<'K2,'V2>
Type parameters: 'K1, 'K2, 'V1, 'V2 |
Resample the series based on equivalence class on the keys. A specified function
Parameters
RemarksThis function is similar to This operation is only supported on ordered series. The method throws
|
resampleInto keys dir f series
Signature:keys:seq<'K> -> dir:Direction -> f:('K -> Series<'K,'V> -> '?7483) -> series:Series<'K,'V> -> Series<'K,'?7483>
Type parameters: 'K, 'V, '?7483 |
Resample the series based on a provided collection of keys. The values of the series
are aggregated into chunks based on the specified keys. Depending on Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
resampleUniform (...)
Signature:fillMode:Lookup -> keyProj:('K1 -> 'K2) -> nextKey:('K2 -> 'K2) -> series:Series<'K1,'V> -> Series<'K2,Series<'K1,'V>>
Type parameters: 'K1, 'K2, 'V |
Resample the series based on equivalence class on the keys and also generate values
for all keys of the target space that are between the minimal and maximal key of the
specified series (e.g. generate value for all days in the range covered by the series).
A specified function When there are no values for a (generated) key, then the function behaves according to
Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
resampleUniformInto (...)
Signature:fillMode:Lookup -> keyProj:('K1 -> 'K2) -> nextKey:('K2 -> 'K2) -> f:(Series<'K1,'V> -> '?7500) -> series:Series<'K1,'V> -> Series<'K2,'?7500>
Type parameters: 'K1, 'K2, 'V, '?7500 |
Resample the series based on equivalence class on the keys and also generate values
for all keys of the target space that are between the minimal and maximal key of the
specified series (e.g. generate value for all days in the range covered by the series).
A specified function When there are no values for a (generated) key, then the function behaves according to
Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
sampleTime interval dir series
Signature:interval:TimeSpan -> dir:Direction -> series:Series<^?7514,^?7515> -> Series<^?7514,Series<^?7514,^?7515>>
Type parameters: ^?7514, ^?7515 |
Performs sampling by time and returns chunks obtained by time-sampling as a nested Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
sampleTimeAt start interval dir series
Signature:start:^?7517 -> interval:TimeSpan -> dir:Direction -> series:Series<^?7517,^?7518> -> Series<^?7517,Series<^?7517,^?7518>>
Type parameters: ^?7517, ^?7518 |
Performs sampling by time and returns chunks obtained by time-sampling as a nested Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
sampleTimeAtInto (...)
Signature:start:^K -> interval:TimeSpan -> dir:Direction -> f:(Series<^K,^V> -> '?7512) -> series:Series<^K,^V> -> Series<^K,'?7512>
Type parameters: ^K, ^V, '?7512 |
Performs sampling by time and aggregates chunks obtained by time-sampling into a single
value using a specified function. The operation generates keys starting at the given
Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
sampleTimeInto interval dir f series
Signature:interval:TimeSpan -> dir:Direction -> f:(Series<^K,^V> -> '?7508) -> series:Series<^K,^V> -> Series<^K,'?7508>
Type parameters: ^K, ^V, '?7508 |
Performs sampling by time and aggregates chunks obtained by time-sampling into a single
value using a specified function. The operation generates keys starting at the first
key in the source series, using the specified Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
Missing values
More stuff here
Functions and values
Function or value | Description |
dropMissing series
Signature:series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
Drop missing values from the specified series. The returned series contains only those keys for which there is a value available in the original one. Parameters
Example
|
fillMissing direction series
Signature:direction:Direction -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
Fill missing values in the series with the nearest available value (using the specified direction). Note that the series may still contain missing values after call to this function. This operation can only be used on ordered series. Parameters
Example
|
fillMissingBetween (...)
Signature:(startKey:'K * endKey:'K) -> direction:Direction -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
|
fillMissingUsing f series
Signature:f:('K -> 'T) -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
Fill missing values in the series using the specified function. The specified function is called with all keys for which the series does not contain value and the result of the call is used in place of the missing value. Parameters
RemarksThis function can be used to implement more complex interpolation. For example see handling missing values in the tutorial |
fillMissingWith value series
Signature:value:'?7468 -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: '?7468, 'K, 'T |
Fill missing values in the series with a constant value. Parameters
|
Statistics
Here
Functions and values
Function or value | Description |
applyLevel level op series
Signature:level:('K1 -> 'K2) -> op:(Series<'K1,'V> -> 'R) -> series:Series<'K1,'V> -> Series<'K2,'R>
Type parameters: 'K1, 'K2, 'V, 'R |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
countLevel level series
Signature:level:('K1 -> 'K2) -> series:Series<'K1,'V> -> Series<'K2,int>
Type parameters: 'K1, 'K2, 'V |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
flattenLevel level op series
Signature:level:('K1 -> 'K2) -> op:(Series<'K1,'S> -> 'V) -> series:Series<'K1,'S> -> Series<'K2,'V>
Type parameters: 'K1, 'K2, 'S, 'V |
|
max series
Signature:series:Series<'K,^V> -> ^V
Type parameters: 'K, ^V |
Returns the smallest of all elements of the series. The operation
skips over missing values and so the result will never be |
maxLevel level series
Signature:level:('K1 -> 'K2) -> series:Series<'K1,^V> -> Series<'K2,^V>
Type parameters: 'K1, 'K2, ^V |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
mean series
Signature:series:Series<'K,^V> -> ^V
Type parameters: 'K, ^V |
Returns the mean of the elements of the series. The operation skips over
missing values and so the result will never be |
meanLevel level series
Signature:level:('K1 -> 'K2) -> series:Series<'K1,^V> -> Series<'K2,^V>
Type parameters: 'K1, 'K2, ^V |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
median series
Signature:series:Series<'K,float> -> float
Type parameters: 'K |
Returns the median of the elements of the series. The operation skips over
missing values and so the result will never be |
medianLevel level series
Signature:level:('?7351 -> '?7352) -> series:Series<'?7351,float> -> Series<'?7352,float>
Type parameters: '?7351, '?7352 |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
min series
Signature:series:Series<'K,^V> -> ^V
Type parameters: 'K, ^V |
Returns the greatest of all elements of the series. The operation
skips over missing values and so the result will never be |
minLevel level series
Signature:level:('K1 -> 'K2) -> series:Series<'K1,^V> -> Series<'K2,^V>
Type parameters: 'K1, 'K2, ^V |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
reduce op series
Signature:op:('T -> 'T -> 'T) -> series:Series<'K,'T> -> 'T
Type parameters: 'T, 'K |
Aggregates the values of the specified series using a function that can combine individual values. Parameters
|
reduceLevel level op series
Signature:level:('K1 -> 'K2) -> op:('T -> 'T -> 'T) -> series:Series<'K1,'T> -> Series<'K2,'T>
Type parameters: 'K1, 'K2, 'T |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
sdv series
Signature:series:Series<'K,float> -> float
Type parameters: 'K |
Returns the standard deviation of the elements of the series. The operation skips over
missing values and so the result will never be |
sdvLevel level series
Signature:level:('K1 -> 'K2) -> series:Series<'K1,float> -> Series<'K2,float>
Type parameters: 'K1, 'K2 |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
stat op series
Signature:op:(seq<'V1> -> 'V2) -> series:Series<'K,'V1> -> 'V2
Type parameters: 'V1, 'V2, 'K |
Aggregates the values of the specified series using a function that operates on
sequence ( Parameters
|
statLevel level op series
Signature:level:('K1 -> 'K2) -> op:(seq<'V> -> 'R) -> series:Series<'K1,'V> -> Series<'K2,'R>
Type parameters: 'K1, 'K2, 'V, 'R |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
sum series
Signature:series:Series<'K,^V> -> ^V
Type parameters: 'K, ^V |
Returns the sum of the elements of the series. The operation skips over
missing values and so the result will never be |
sumLevel level series
Signature:level:('K1 -> 'K2) -> series:Series<'K1,^V> -> Series<'K2,^V>
Type parameters: 'K1, 'K2, ^V |
Groups the elements of the input series in groups based on the keys
produced by This operation is designed to be used with hierarchical indexing. Parameters
|
Windowing, chunking and grouping
The functions with name starting with windowed
take a series and generate floating
(overlapping) windows. The chunk
functions
Functions and values
Function or value | Description |
aggregate aggregation keySelector series
Signature:aggregation:Aggregation<'K> -> keySelector:(DataSegment<Series<'K,'T>> -> 'TNewKey) -> series:Series<'K,'T> -> Series<'TNewKey,DataSegment<Series<'K,'T>>>
Type parameters: 'K, 'T, 'TNewKey |
Aggregates an ordered series using the method specified by Parameters
|
aggregateInto (...)
Signature:aggregation:Aggregation<'K> -> keySelector:(DataSegment<Series<'K,'T>> -> 'TNewKey) -> f:(DataSegment<Series<'K,'T>> -> OptionalValue<'R>) -> series:Series<'K,'T> -> Series<'TNewKey,'R>
Type parameters: 'K, 'T, 'TNewKey, 'R |
Aggregates an ordered series using the method specified by Parameters
|
chunk size series
Signature:size:int -> series:Series<'K,'T> -> Series<'K,Series<'K,'T>>
Type parameters: 'K, 'T |
Aggregates the input into a series of adacent chunks and returns the produced chunks as
a nested series. The key in the new series is the last key of the chunk. This function
skips incomplete chunks - you can use Parameters
|
chunkDist distance series
Signature:distance:^D -> series:Series<^K,'T> -> Series<^K,Series<^K,'T>>
Type parameters: ^D, ^K, 'T |
Aggregates the input into a series of adacent chunks. A chunk is started once
the distance between the first and the last key of a previous chunk is greater
than the specified Parameters
|
chunkDistInto distance f series
Signature:distance:^D -> f:(Series<^K,'T> -> 'R) -> series:Series<^K,'T> -> Series<^K,'R>
Type parameters: ^D, ^K, 'T, 'R |
Aggregates the input into a series of adacent chunks. A chunk is started once
the distance between the first and the last key of a previous chunk is greater
than the specified Parameters
|
chunkInto size f series
Signature:size:int -> f:(Series<'K,'T> -> 'R) -> series:Series<'K,'T> -> Series<'K,'R>
Type parameters: 'K, 'T, 'R |
Aggregates the input into a series of adacent chunks and then applies the provided
value selector Parameters
|
chunkSize (arg1, arg2) series
Signature:(int * Boundary) -> series:Series<'K,'T> -> Series<'K,Series<'K,'T>>
Type parameters: 'K, 'T |
Aggregates the input into a series of adacent chunks using the specified size and boundary behavior and returns
the produced chunks as a nested series. The key is the last key of the chunk, unless
boundary behavior is Parameters
|
chunkSizeInto (arg1, arg2) f series
Signature:(int * Boundary) -> f:(DataSegment<Series<'K,'T>> -> 'R) -> series:Series<'K,'T> -> Series<'K,'R>
Type parameters: 'K, 'T, 'R |
Aggregates the input into a series of adacent chunks using the specified size and boundary behavior and then
applies the provided value selector Parameters
|
chunkWhile cond series
Signature:cond:('K -> 'K -> bool) -> series:Series<'K,'T> -> Series<'K,Series<'K,'T>>
Type parameters: 'K, 'T |
Aggregates the input into a series of adacent chunks based on a condition on keys. A chunk is started
once the specified Parameters
|
chunkWhileInto cond f series
Signature:cond:('K -> 'K -> bool) -> f:(Series<'K,'T> -> '?7427) -> series:Series<'K,'T> -> Series<'K,'?7427>
Type parameters: 'K, 'T, '?7427 |
Aggregates the input into a series of adacent chunks based on a condition on keys. A chunk is started
once the specified Parameters
|
groupBy keySelector series
Signature:keySelector:('K -> 'T -> 'TNewKey) -> series:Series<'K,'T> -> Series<'TNewKey,Series<'K,'T>>
Type parameters: 'K, 'T, 'TNewKey |
Groups a series (ordered or unordered) using the specified key selector ( Parameters
|
groupInto keySelector f series
Signature:keySelector:('K -> 'T -> 'TNewKey) -> f:('TNewKey -> Series<'K,'T> -> 'TNewValue) -> series:Series<'K,'T> -> Series<'TNewKey,'TNewValue>
Type parameters: 'K, 'T, 'TNewKey, 'TNewValue |
Groups a series (ordered or unordered) using the specified key selector ( Parameters
|
pairwise series
Signature:series:Series<'K,'T> -> Series<'K,('T * 'T)>
Type parameters: 'K, 'T |
Returns a series containing the predecessor and an element for each input, except for the first one. The returned series is one key shorter (it does not contain a value for the first key). Parameters
Example
|
pairwiseWith f series
Signature:f:('K -> 'T * 'T -> '?7451) -> series:Series<'K,'T> -> Series<'K,'?7451>
Type parameters: 'K, 'T, '?7451 |
Aggregates the input into pairs containing the predecessor and an element for each input, except
for the first one. Then calls the specified aggregation function Parameters
|
window size series
Signature:size:int -> series:Series<'K,'T> -> Series<'K,Series<'K,'T>>
Type parameters: 'K, 'T |
Creates a sliding window using the specified size and returns the produced windows as
a nested series. The key in the new series is the last key of the window. This function
skips incomplete chunks - you can use Parameters
|
windowDist distance series
Signature:distance:^D -> series:Series<^K,'T> -> Series<^K,Series<^K,'T>>
Type parameters: ^D, ^K, 'T |
Creates a sliding window based on distance between keys. A window is started at each
input element and ends once the distance between the first and the last key is greater
than the specified Parameters
|
windowDistInto distance f series
Signature:distance:^?7393 -> f:(Series<^K,'T> -> '?7396) -> series:Series<^K,'T> -> Series<^K,'?7396>
Type parameters: ^?7393, ^K, 'T, '?7396 |
Creates a sliding window based on distance between keys. A window is started at each
input element and ends once the distance between the first and the last key is greater
than the specified Parameters
|
windowInto size f series
Signature:size:int -> f:(Series<'K,'T> -> 'R) -> series:Series<'K,'T> -> Series<'K,'R>
Type parameters: 'K, 'T, 'R |
Creates a sliding window using the specified size and then applies the provided
value selector Parameters
|
windowSize (arg1, arg2) series
Signature:(int * Boundary) -> series:Series<'K,'T> -> Series<'K,Series<'K,'T>>
Type parameters: 'K, 'T |
Creates a sliding window using the specified size and boundary behavior and returns
the produced windows as a nested series. The key is the last key of the window, unless
boundary behavior is Parameters
|
windowSizeInto (arg1, arg2) f series
Signature:(int * Boundary) -> f:(DataSegment<Series<'K,'T>> -> 'R) -> series:Series<'K,'T> -> Series<'K,'R>
Type parameters: 'K, 'T, 'R |
Creates a sliding window using the specified size and boundary behavior and then
applies the provided value selector Parameters
|
windowWhile cond series
Signature:cond:('K -> 'K -> bool) -> series:Series<'K,'T> -> Series<'K,Series<'K,'T>>
Type parameters: 'K, 'T |
Creates a sliding window based on a condition on keys. A window is started at each
input element and ends once the specified Parameters
|
windowWhileInto cond f series
Signature:cond:('K -> 'K -> bool) -> f:(Series<'K,'T> -> '?7404) -> series:Series<'K,'T> -> Series<'K,'?7404>
Type parameters: 'K, 'T, '?7404 |
Creates a sliding window based on a condition on keys. A window is started at each
input element and ends once the specified Parameters
|
Other module members
Functions and values
Function or value | Description |
countKeys series
Signature:series:Series<'K,'T> -> int
Type parameters: 'K, 'T |
Returns the total number of keys in the specified series. This returns the total length of the series, including keys for which there is no value available. |
countValues series
Signature:series:Series<'K,'T> -> int
Type parameters: 'K, 'T |
Returns the total number of values in the specified series. This excludes
missing values or not available values (such as values created from |
diff offset series
Signature:offset:int -> series:Series<'K,^T> -> Series<'K,^?7238>
Type parameters: 'K, ^T, ^?7238 |
|
fillErrorsWith value series
Signature:value:'T -> series:Series<'K,'T tryval> -> Series<'K,'T>
Type parameters: 'T, 'K |
|
filter f series
Signature:f:('K -> 'T -> bool) -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
|
filterAll f series
Signature:f:('K -> 'T option -> bool) -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
|
filterValues f series
Signature:f:('T -> bool) -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'T, 'K |
|
firstKey series
Signature:series:Series<'K,'V> -> 'K
Type parameters: 'K, 'V |
|
firstValue series
Signature:series:Series<'K,'V> -> 'V
Type parameters: 'K, 'V |
|
force series
Signature:series:Series<'K,'V> -> Series<'K,'V>
Type parameters: 'K, 'V |
|
get key series
Signature:key:'K -> series:Series<'K,'T> -> 'T
Type parameters: 'K, 'T |
Get the value for the specified key.
Uses exact lookup semantics for key lookup - use |
getAll keys series
Signature:keys:seq<'K> -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
Create a new series that contains values for all provided keys.
Uses exact lookup semantics for key lookup - use |
getAt index series
Signature:index:int -> series:Series<'K,'T> -> 'T
Type parameters: 'K, 'T |
|
has key series
Signature:key:'K -> series:Series<'K,'T> -> bool
Type parameters: 'K, 'T |
|
hasAll keys series
Signature:keys:seq<'K> -> series:Series<'K,'T> -> bool
Type parameters: 'K, 'T |
|
hasNone keys series
Signature:keys:seq<'K> -> series:Series<'K,'T> -> bool
Type parameters: 'K, 'T |
|
hasNot key series
Signature:key:'K -> series:Series<'K,'T> -> bool
Type parameters: 'K, 'T |
|
hasSome keys series
Signature:keys:seq<'K> -> series:Series<'K,'T> -> bool
Type parameters: 'K, 'T |
|
indexOrdinally series
Signature:series:Series<'K,'T> -> Series<int,'T>
Type parameters: 'K, 'T |
|
indexWith keys series
Signature:keys:seq<'K2> -> series:Series<'K1,'T> -> Series<'K2,'T>
Type parameters: 'K2, 'K1, 'T |
|
keys series
Signature:series:Series<'K,'T> -> seq<'K>
Type parameters: 'K, 'T |
|
lastKey series
Signature:series:Series<'K,'V> -> 'K
Type parameters: 'K, 'V |
|
lastValue series
Signature:series:Series<'K,'V> -> 'V
Type parameters: 'K, 'V |
|
lookup key lookup series
Signature:key:'K -> lookup:Lookup -> series:Series<'K,'T> -> 'T
Type parameters: 'K, 'T |
Get the value for the specified key.
Use the specified lookup semantics - for exact matching, use |
lookupAll keys lookup series
Signature:keys:seq<'K> -> lookup:Lookup -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
Create a new series that contains values for all provided keys.
Use the specified lookup semantics - for exact matching, use |
map f series
Signature:f:('K -> 'T -> 'R) -> series:Series<'K,'T> -> Series<'K,'R>
Type parameters: 'K, 'T, 'R |
|
mapAll f series
Signature:f:('K -> 'T option -> 'R option) -> series:Series<'K,'T> -> Series<'K,'R>
Type parameters: 'K, 'T, 'R |
|
mapKeys f series
Signature:f:('K -> 'R) -> series:Series<'K,'T> -> Series<'R,'T>
Type parameters: 'K, 'R, 'T |
|
mapValues f series
Signature:f:('T -> 'R) -> series:Series<'K,'T> -> Series<'K,'R>
Type parameters: 'T, 'R, 'K |
|
maxBy f series
Signature:f:('T -> '?7286) -> series:Series<'K,'T> -> 'K * 'T
Type parameters: 'T, '?7286, 'K |
|
minBy f series
Signature:f:('T -> '?7290) -> series:Series<'K,'T> -> 'K * 'T
Type parameters: 'T, '?7290, 'K |
|
observations series
Signature:series:Series<'K,'T> -> seq<'K * 'T>
Type parameters: 'K, 'T |
Return observations with available values. The operation skips over
all keys with missing values (such as values created from |
observationsAll series
Signature:series:Series<'K,'T> -> seq<'K * 'T option>
Type parameters: 'K, 'T |
Returns all keys from the sequence, together with the associated (optional) values. |
realign keys series
Signature:keys:seq<'K> -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
|
shift offset series
Signature:offset:int -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
|
takeLast count series
Signature:count:int -> series:Series<'K,'T> -> Series<'K,'T>
Type parameters: 'K, 'T |
|
tryErrors series
Signature:series:Series<'K,TryValue<'V>> -> Series<'K,exn>
Type parameters: 'K, 'V |
Return a Series of all exceptions |
tryGet key series
Signature:key:'K -> series:Series<'K,'T> -> 'T option
Type parameters: 'K, 'T |
|
tryGetAt index series
Signature:index:int -> series:Series<'K,'T> -> 'T option
Type parameters: 'K, 'T |
|
tryLookup key lookup series
Signature:key:'K -> lookup:Lookup -> series:Series<'K,'T> -> 'T option
Type parameters: 'K, 'T |
|
tryMap f series
Signature:f:('K -> 'T -> 'R) -> series:Series<'K,'T> -> Series<'K,'R tryval>
Type parameters: 'K, 'T, 'R |
|
trySuccesses series
Signature:series:Series<'K,TryValue<'V>> -> Series<'K,'V>
Type parameters: 'K, 'V |
Return a Series of all successful tries |
tryValues series
Signature:series:Series<'K,'T tryval> -> Series<'K,'T>
Type parameters: 'K, 'T |
Throws |
values series
Signature:series:Series<'K,'T> -> seq<'T>
Type parameters: 'K, 'T |