Deedle


SeriesExtensions

Table of contents

Data structure manipulation 

Static members

Static memberDescription
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

  • series - An input series to be used

Lookup, resampling and scaling 

Static members

Static memberDescription
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 keyProj is used to project keys to another space and the observations for which the projected keys are equivalent are grouped into chunks. The chunks are then transformed to values using the provided function f.

Parameters

  • series - An input series to be resampled
  • keyProj - A function that transforms keys from original space to a new space (which is then used for grouping based on equivalence)
  • aggregate - A function that is used to collapse a generated chunk into a single value.

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered. For unordered series, similar functionality can be implemented using GroupBy.

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 keyProj is used to project keys to another space and the observations for which the projected keys are equivalent are grouped into chunks. The chunks are then returned as nested series.

Parameters

  • series - An input series to be resampled
  • keyProj - A function that transforms keys from original space to a new space (which is then used for grouping based on equivalence)

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered. For unordered series, similar functionality can be implemented using GroupBy.

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 keyProj is used to project keys to another space and nextKey is used to generate all keys in the range. The last value of each chunk is returned.

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

  • series - An input series to be resampled
  • fillMode - When set to Lookup.NearestSmaller or Lookup.NearestGreater, the function searches for a nearest available observation in an neighboring chunk. Otherwise, the function f is called with an empty series as an argument.
  • keyProj - A function that transforms keys from original space to a new space (which is then used for grouping based on equivalence)
  • nextKey - A function that gets the next key in the transformed space

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 keyProj is used to project keys to another space and nextKey is used to generate all keys in the range.

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

  • series - An input series to be resampled
  • fillMode - When set to Lookup.NearestSmaller or Lookup.NearestGreater, the function searches for a nearest available observation in an neighboring chunk. Otherwise, the function f is called with an empty series as an argument.
  • keyProj - A function that transforms keys from original space to a new space (which is then used for grouping based on equivalence)
  • nextKey - A function that gets the next key in the transformed space

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 interval and then finds nearest smaller values close to such keys. The function generates samples at, or just before the end of an interval and at, or after, the end of the series.

Parameters

  • series - An input series to be resampled
  • interval - The interval between the individual samples

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 interval and then finds nearest smaller values close to such keys. The function generates samples at, or just before the end of an interval and at, or after, the end of the series.

Parameters

  • series - An input series to be resampled
  • interval - The interval between the individual samples

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 interval and then finds nearest smaller values close to such keys according to dir.

Parameters

  • series - An input series to be resampled
  • interval - The interval between the individual samples
  • dir - Specifies how the keys should be generated. Direction.Forward means that the key is the smallest value of each chunk (and so first key of the series is returned and the last is not, unless it matches exactly start + k*interval); Direction.Backward means that the first key is skipped and sample is generated at, or just before the end of interval and at the end of the series.

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 interval and then finds nearest smaller values close to such keys according to dir.

Parameters

  • series - An input series to be resampled
  • interval - The interval between the individual samples
  • lookup - Specifies how the lookup based on keys is performed. Exact means that the values at exact keys will be returned; NearestGreater returns the nearest greater key value (starting at the first key) and NearestSmaller returns the nearest smaller key value (starting at most interval after the end of the series)

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 start time, using the specified interval and then finds nearest smaller values close to such keys according to dir.

Parameters

  • series - An input series to be resampled
  • start - The initial time to be used for sampling
  • interval - The interval between the individual samples
  • lookup - Specifies how the lookup based on keys is performed. Exact means that the values at exact keys will be returned; NearestGreater returns the nearest greater key value (starting at the first key) and NearestSmaller returns the nearest smaller key value (starting at most interval after the end of the series)

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 start time, using the specified interval and then finds nearest smaller values close to such keys according to dir.

Parameters

  • series - An input series to be resampled
  • start - The initial time to be used for sampling
  • interval - The interval between the individual samples
  • lookup - Specifies how the lookup based on keys is performed. Exact means that the values at exact keys will be returned; NearestGreater returns the nearest greater key value (starting at the first key) and NearestSmaller returns the nearest smaller key value (starting at most interval after the end of the series)

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 interval and then obtains chunks based on these keys in a fashion similar to the Series.resample function.

Parameters

  • series - An input series to be resampled
  • interval - The interval between the individual samples
  • dir - If this parameter is Direction.Forward, then each key is used as the smallest key in a chunk; for Direction.Backward, the keys are used as the greatest keys in a chunk.
  • aggregate - A function that is called to aggregate each chunk into a single value.

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

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 interval and then obtains chunks based on these keys in a fashion similar to the Series.resample function.

Parameters

  • series - An input series to be resampled
  • interval - The interval between the individual samples
  • dir - If this parameter is Direction.Forward, then each key is used as the smallest key in a chunk; for Direction.Backward, the keys are used as the greatest keys in a chunk.
  • aggregate - A function that is called to aggregate each chunk into a single value.

Remarks

This operation is only supported on ordered series. The method throws InvalidOperationException when the series is not ordered.

Missing values 

Static members

Static memberDescription
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

  • series - An input series to be filtered

Example

let s = series [ 1 => 1.0; 2 => Double.NaN ]
s.DropMissing()
[fsi:val it : Series<int,float> = series [ 1 => 1]
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

  • series - An input series that is to be filled
  • filler - A function that takes key K and generates a value to be used in a place where the original series contains a missing value.

Remarks

This 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 Direction.Backward. Note that the series may still contain missing values after call to this function. This operation can only be used on ordered series.

Example

let sample = Series.ofValues [ Double.NaN; 1.0; Double.NaN; 3.0 ]

// Returns a series consisting of [1; 1; 3; 3]
sample.FillMissing(Direction.Backward)

// Returns a series consisting of [<missing>; 1; 1; 3]
sample.FillMissing(Direction.Forward)

Parameters

  • direction - Specifies the direction used when searching for the nearest available value. Backward means that we want to look for the first value with a smaller key while Forward searches for the nearest greater key.
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

  • series - An input series that is to be filled
  • value - A constant value that is used to fill all missing values

Statistics 

Static members

Static memberDescription
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 groupSelector and then returns a new series containing the counts of elements in each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the counts
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 NaN.

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 NaN.

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 groupSelector and then returns a new series containing the greatest element of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the greatest elements
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the greatest element of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the greatest elements
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the greatest element of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the greatest elements
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the greatest element of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the greatest elements
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 NaN.

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 NaN.

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 groupSelector and then returns a new series containing the mean of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the means
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the mean of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the means
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the mean of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the means
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 NaN.

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 groupSelector and then returns a new series containing the median of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the medians
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 NaN.

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 NaN.

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 groupSelector and then returns a new series containing the smallest element of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the smallest elements
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the smallest element of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the smallest elements
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the smallest element of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the smallest elements
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the smallest element of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the smallest elements
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 NaN.

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 groupSelector and then returns a new series containing the standard deviation of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the standard deviations
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 NaN.

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 NaN.

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 groupSelector and then returns a new series containing the sum of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the sums
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the sum of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the sums
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the sum of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the sums
  • groupSelector - A delegate that returns a new group key, based on the key in the input series
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 groupSelector and then returns a new series containing the sum of each group.

This operation is designed to be used with hierarchical indexing.

Parameters

  • series - A series of values that are used to calculate the sums
  • groupSelector - A delegate that returns a new group key, based on the key in the input series

Other type members 

Static members

Static memberDescription
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 OptionalValue<T> struct which provides HasValue for testing if the value is available.

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 null, Double.NaN, or those that are missing due to outer join etc.).

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
Fork me on GitHub