SeriesExtensions
Table of contents
- Data structure manipulation
- Lookup, resampling and scaling
- Missing values
- Statistics
- Other type members
Data structure manipulation
Static members
Static member | Description |
SeriesExtensions.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
|
Lookup, resampling and scaling
Static members
Static member | Description |
SeriesExtensions.ResampleEquivalence(...)
Signature:(series:Series<'K,'V> * keyProj:Func<'K,'?6048> * aggregate:Func<Series<'K,'V>,'?6049>) -> Series<'?6048,'?6049>
Type parameters: 'K, 'V, '?6048, '?6049 |
Resample the series based on equivalence class on the keys. A specified function
Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
SeriesExtensions.ResampleEquivalence(...)
Signature:(series:Series<'K,'V> * keyProj:Func<'K,'?6044>) -> Series<'?6044,Series<'K,'V>>
Type parameters: 'K, 'V, '?6044 |
Resample the series based on equivalence class on the keys. A specified function
Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
SeriesExtensions.ResampleUniform(...)
Signature:(series:Series<'K1,'V> * keyProj:Func<'K1,'K2> * nextKey:Func<'K2,'K2> * fillMode:Lookup) -> Series<'K2,'V>
Type parameters: 'K1, 'V, 'K2 |
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 attempts to get the greatest value from the previous smaller chunk (i.e. value for the previous date time). Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
SeriesExtensions.ResampleUniform(...)
Signature:(series:Series<'K,'V> * keyProj:Func<'K,'?6053> * nextKey:Func<'?6053,'?6053>) -> Series<'?6053,'V>
Type parameters: 'K, 'V, '?6053 |
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).
For each equivalence class (e.g. date), select the latest value (with greatest key).
A specified function When there are no values for a (generated) key, then the function attempts to get the greatest value from the previous smaller chunk (i.e. value for the previous date time). Parameters
RemarksThis operation is only supported on ordered series. The method throws
|
SeriesExtensions.Sample(...)
Signature:(series:Series<DateTimeOffset,'V> * interval:TimeSpan) -> Series<DateTimeOffset,'V>
Type parameters: '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
|
SeriesExtensions.Sample(...)
Signature:(series:Series<DateTime,'V> * interval:TimeSpan) -> Series<DateTime,'V>
Type parameters: '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
|
SeriesExtensions.Sample(...)
Signature:(series:Series<DateTimeOffset,'V> * interval:TimeSpan * dir:Direction) -> Series<DateTimeOffset,'V>
Type parameters: '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
|
SeriesExtensions.Sample(...)
Signature:(series:Series<DateTime,'V> * interval:TimeSpan * dir:Direction) -> Series<DateTime,'V>
Type parameters: '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
|
SeriesExtensions.Sample(...)
Signature:(series:Series<DateTimeOffset,'V> * start:DateTimeOffset * interval:TimeSpan * dir:Direction) -> Series<DateTimeOffset,'V>
Type parameters: '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
|
SeriesExtensions.Sample(...)
Signature:(series:Series<DateTime,'V> * start:DateTime * interval:TimeSpan * dir:Direction) -> Series<DateTime,'V>
Type parameters: '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
|
SeriesExtensions.SampleInto(...)
Signature:(series:Series<DateTimeOffset,'V> * interval:TimeSpan * dir:Direction * aggregate:Func<DateTimeOffset,(Series<DateTimeOffset,'V> -> obj)>) -> Series<DateTimeOffset,obj>
Type parameters: 'V |
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
|
SeriesExtensions.SampleInto(...)
Signature:(series:Series<DateTime,'V> * interval:TimeSpan * dir:Direction * aggregate:Func<DateTime,(Series<DateTime,'V> -> obj)>) -> Series<DateTime,obj>
Type parameters: 'V |
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
Static members
Static member | Description |
SeriesExtensions.DropMissing(series)
Signature:series:Series<'K,'V> -> Series<'K,'V>
Type parameters: 'K, 'V |
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
|
SeriesExtensions.FillMissing(...)
Signature:(series:Series<'K,'T> * filler:Func<'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 |
SeriesExtensions.FillMissing(...)
Signature:(series:Series<'K,'T> * direction:Direction) -> Series<'K,'T>
Type parameters: 'K, 'T |
Fill missing values in the series with the nearest available value
(using the specified direction). The default direction is Example
Parameters
|
SeriesExtensions.FillMissing(...)
Signature:(series:Series<'K,'T> * value:'T) -> Series<'K,'T>
Type parameters: 'K, 'T |
Fill missing values in the series with a constant value. Parameters
|
Statistics
Static members
Static member | Description |
SeriesExtensions.CountLevel(...)
Signature:(series:Series<'K1,decimal> * groupSelector:Func<'K1,'K2>) -> Series<'K2,int>
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
|
SeriesExtensions.Max(series)
Signature:series:Series<'K,decimal> -> decimal
Type parameters: 'K |
Returns the greatest of all elements of the series. |
SeriesExtensions.Max(series)
Signature:series:Series<'K,int> -> int
Type parameters: 'K |
Returns the greatest of all elements of the series. |
SeriesExtensions.Max(series)
Signature:series:Series<'K,float32> -> float32
Type parameters: 'K |
Returns the greatest of all elements of the series. The operation
skips over missing values and so the result will never be |
SeriesExtensions.Max(series)
Signature:series:Series<'K,float> -> float
Type parameters: 'K |
Returns the greatest of all elements of the series. The operation
skips over missing values and so the result will never be |
SeriesExtensions.MaxLevel(...)
Signature:(series:Series<'K1,decimal> * groupSelector:Func<'K1,'K2>) -> Series<'K2,decimal>
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
|
SeriesExtensions.MaxLevel(...)
Signature:(series:Series<'K1,int> * groupSelector:Func<'K1,'K2>) -> Series<'K2,int>
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
|
SeriesExtensions.MaxLevel(...)
Signature:(series:Series<'K1,float32> * groupSelector:Func<'K1,'K2>) -> Series<'K2,float32>
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
|
SeriesExtensions.MaxLevel(...)
Signature:(series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> 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
|
SeriesExtensions.Mean(series)
Signature:series:Series<'K,decimal> -> decimal
Type parameters: 'K |
Returns the mean of the elements of the series. |
SeriesExtensions.Mean(series)
Signature:series:Series<'K,float32> -> float32
Type parameters: 'K |
Returns the mean of the elements of the series. The operation skips over
missing values and so the result will never be |
SeriesExtensions.Mean(series)
Signature:series:Series<'K,float> -> float
Type parameters: 'K |
Returns the mean of the elements of the series. The operation skips over
missing values and so the result will never be |
SeriesExtensions.MeanLevel(...)
Signature:(series:Series<'K1,decimal> * groupSelector:Func<'K1,'K2>) -> Series<'K2,decimal>
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
|
SeriesExtensions.MeanLevel(...)
Signature:(series:Series<'K1,float32> * groupSelector:Func<'K1,'K2>) -> Series<'K2,float32>
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
|
SeriesExtensions.MeanLevel(...)
Signature:(series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> 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
|
SeriesExtensions.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 |
SeriesExtensions.MedianLevel(...)
Signature:(series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> 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
|
SeriesExtensions.Min(series)
Signature:series:Series<'K,decimal> -> decimal
Type parameters: 'K |
Returns the smallest of all elements of the series. |
SeriesExtensions.Min(series)
Signature:series:Series<'K,int> -> int
Type parameters: 'K |
Returns the smallest of all elements of the series. |
SeriesExtensions.Min(series)
Signature:series:Series<'K,float32> -> float32
Type parameters: 'K |
Returns the smallest of all elements of the series. The operation
skips over missing values and so the result will never be |
SeriesExtensions.Min(series)
Signature:series:Series<'K,float> -> float
Type parameters: 'K |
Returns the smallest of all elements of the series. The operation
skips over missing values and so the result will never be |
SeriesExtensions.MinLevel(...)
Signature:(series:Series<'K1,decimal> * groupSelector:Func<'K1,'K2>) -> Series<'K2,decimal>
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
|
SeriesExtensions.MinLevel(...)
Signature:(series:Series<'K1,int> * groupSelector:Func<'K1,'K2>) -> Series<'K2,int>
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
|
SeriesExtensions.MinLevel(...)
Signature:(series:Series<'K1,float32> * groupSelector:Func<'K1,'K2>) -> Series<'K2,float32>
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
|
SeriesExtensions.MinLevel(...)
Signature:(series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> 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
|
SeriesExtensions.StandardDeviation(...)
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 |
SeriesExtensions.StandardDeviationLevel(...)
Signature:(series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> 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
|
SeriesExtensions.Sum(series)
Signature:series:Series<'K,decimal> -> decimal
Type parameters: 'K |
Returns the sum of the elements of the series. |
SeriesExtensions.Sum(series)
Signature:series:Series<'K,int> -> int
Type parameters: 'K |
Returns the sum of the elements of the series. |
SeriesExtensions.Sum(series)
Signature:series:Series<'K,float32> -> float32
Type parameters: 'K |
Returns the sum of the elements of the series. The operation skips over
missing values and so the result will never be |
SeriesExtensions.Sum(series)
Signature:series:Series<'K,float> -> float
Type parameters: 'K |
Returns the sum of the elements of the series. The operation skips over
missing values and so the result will never be |
SeriesExtensions.SumLevel(...)
Signature:(series:Series<'K1,decimal> * groupSelector:Func<'K1,'K2>) -> Series<'K2,decimal>
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
|
SeriesExtensions.SumLevel(...)
Signature:(series:Series<'K1,int> * groupSelector:Func<'K1,'K2>) -> Series<'K2,int>
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
|
SeriesExtensions.SumLevel(...)
Signature:(series:Series<'K1,float32> * groupSelector:Func<'K1,'K2>) -> Series<'K2,float32>
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
|
SeriesExtensions.SumLevel(...)
Signature:(series:Series<'K1,float> * groupSelector:Func<'K1,'K2>) -> 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
|
Other type members
Static members
Static member | Description |
SeriesExtensions.Chunk(series, size)
Signature:(series:Series<'K,'V> * size:int) -> Series<'K,Series<'K,'V>>
Type parameters: 'K, 'V |
|
SeriesExtensions.ChunkInto(...)
Signature:(series:Series<'K,'V> * size:int * reduce:Func<Series<'K,'V>,'U>) -> Series<'K,'U>
Type parameters: 'K, 'V, 'U |
|
SeriesExtensions.ChunkInto(...)
Signature:(series:Series<'K1,'V> * size:int * selector:Func<Series<'K1,'V>,KeyValuePair<'K2,'U>>) -> Series<'K2,'U>
Type parameters: 'K1, 'V, 'K2, 'U |
|
SeriesExtensions.ContainsKey(...)
Signature:(series:Series<'K,'T> * key:'K) -> bool
Type parameters: 'K, 'T |
|
SeriesExtensions.Diff(series, offset)
Signature:(series:Series<'K,int> * offset:int) -> Series<'K,int>
Type parameters: 'K |
|
SeriesExtensions.Diff(series, offset)
Signature:(series:Series<'K,decimal> * offset:int) -> Series<'K,decimal>
Type parameters: 'K |
|
SeriesExtensions.Diff(series, offset)
Signature:(series:Series<'K,float32> * offset:int) -> Series<'K,float32>
Type parameters: 'K |
|
SeriesExtensions.Diff(series, offset)
Signature:(series:Series<'K,float> * offset:int) -> Series<'K,float>
Type parameters: 'K |
|
SeriesExtensions.FillMissing(...)
Signature:(series:Series<'K,'T> * startKey:'K * endKey:'K * direction:Direction) -> Series<'K,'T>
Type parameters: 'K, 'T |
|
SeriesExtensions.FirstKey(series)
Signature:series:Series<'K,'V> -> 'K
Type parameters: 'K, 'V |
|
SeriesExtensions.GetAllObservations(...)
Signature:series:Series<'K,'T> -> seq<KeyValuePair<'K,OptionalValue<'T>>>
Type parameters: 'K, 'T |
Returns all keys from the sequence, together with the associated (optional)
values. The values are returned using the |
SeriesExtensions.GetObservations(series)
Signature:series:Series<'K,'T> -> seq<KeyValuePair<'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 |
SeriesExtensions.GetSlice(...)
Signature:(series:Series<('K1 * 'K2),'V> * k1:'K1 * lo2:'K2 option * hi2:'K2 option) -> Series<('K1 * 'K2),'V>
Type parameters: 'K1, 'K2, 'V |
|
SeriesExtensions.GetSlice(...)
Signature:(series:Series<('K1 * 'K2),'V> * lo1:'K1 option * hi1:'K1 option * k2:'K2) -> Series<('K1 * 'K2),'V>
Type parameters: 'K1, 'K2, 'V |
|
SeriesExtensions.GetSlice(...)
Signature:(series:Series<('K1 * 'K2),'V> * lo1:'K1 option * hi1:'K1 option * lo2:'K2 option * hi2:'K2 option) -> Series<('K1 * 'K2),'V>
Type parameters: 'K1, 'K2, 'V |
|
SeriesExtensions.LastKey(series)
Signature:series:Series<'K,'V> -> 'K
Type parameters: 'K, 'V |
|
SeriesExtensions.Log(series)
Signature:series:Series<'K,float> -> Series<'K,float>
Type parameters: 'K |
|
SeriesExtensions.Print(series)
Signature:series:Series<'K,'V> -> unit
Type parameters: 'K, 'V |
|
SeriesExtensions.Shift(series, offset)
Signature:(series:Series<'K,'V> * offset:int) -> Series<'K,'V>
Type parameters: 'K, 'V |
|
SeriesExtensions.Window(series, size)
Signature:(series:Series<'K,'V> * size:int) -> Series<'K,Series<'K,'V>>
Type parameters: 'K, 'V |
|
SeriesExtensions.WindowInto(...)
Signature:(series:Series<'K,'V> * size:int * reduce:Func<Series<'K,'V>,'U>) -> Series<'K,'U>
Type parameters: 'K, 'V, 'U |
|
SeriesExtensions.WindowInto(...)
Signature:(series:Series<'K1,'V> * size:int * selector:Func<Series<'K1,'V>,KeyValuePair<'K2,'U>>) -> Series<'K2,'U>
Type parameters: 'K1, 'V, 'K2, 'U |