| F# Frame extensionsframea, b, c Method |
A function for constructing data frame from a sequence of name - column pairs.
This provides a nicer syntactic sugar for `Frame.ofColumns`.
## Example
To create a simple frame with two columns, you can write:
frame [ "A" => series [ 1 => 30.0; 2 => 35.0 ]
"B" => series [ 1 => 30.0; 3 => 40.0 ] ]
[category:Frame construction]
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax public static Frame<c, a> frame<a, b, c>(
IEnumerable<Tuple<a, b>> columns
)
where b : Object, ISeries<c>
Parameters
- columns
- Type: System.Collections.GenericIEnumerableTuplea, b
[Missing <param name="columns"/> documentation for "M:Deedle.F# Frame extensions.frame``3(System.Collections.Generic.IEnumerable{System.Tuple{``0,``1}})"]
Type Parameters
- a
- b
- c
Return Value
Type:
Framec,
a[Missing <returns> documentation for "M:Deedle.F# Frame extensions.frame``3(System.Collections.Generic.IEnumerable{System.Tuple{``0,``1}})"]
See Also