| F# Series extensionsseriesa, b Method |
Create a series from a sequence of key-value pairs that represent
the observations of the series. This function can be used together
with the `=>` operator to create key-value pairs.
## Example
// Creates a series with squares of numbers
let sqs = series [ 1 => 1.0; 2 => 4.0; 3 => 9.0 ]
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax public static Series<a, b> series<a, b>(
IEnumerable<Tuple<a, b>> observations
)
Parameters
- observations
- Type: System.Collections.GenericIEnumerableTuplea, b
[Missing <param name="observations"/> documentation for "M:Deedle.F# Series extensions.series``2(System.Collections.Generic.IEnumerable{System.Tuple{``0,``1}})"]
Type Parameters
- a
- b
Return Value
Type:
Seriesa,
b[Missing <returns> documentation for "M:Deedle.F# Series extensions.series``2(System.Collections.Generic.IEnumerable{System.Tuple{``0,``1}})"]
See Also