Deedle


SeriesBuilder<'K, 'V>

Namespace: Deedle

The type can be used for creating series using mutation. You can add items using Add and get the resulting series using the Series property.

Using from C#

The type supports the C# collection builder pattern:

1: 
2: 
var s = new SeriesBuilder<string, double>
  { { "A", 1.0 }, { "B", 2.0 }, { "C", 3.0 } }.Series;

The type also supports the dynamic operator:

1: 
2: 
3: 
dynamic sb = new SeriesBuilder<string, obj>();
sb.ID = 1;
sb.Value = 3.4;
Multiple items
val string : value:'T -> string

--------------------
type string = System.String
Multiple items
val double : value:'T -> double (requires member op_Explicit)

--------------------
type double = System.Double
type obj = System.Object

Constructors

ConstructorDescription
new()
Signature: unit -> SeriesBuilder<'K,'V>

CompiledName: .ctor

Instance members

Instance memberDescription
x.Add(key, value)
Signature: (key:'K * value:'V) -> unit

Add specified key and value to the series being build

x.Series
Signature: Series<'K,'V>

Returns the constructed series. The series is an immutable copy of the current values and so further additions will not change the returned series.

CompiledName: get_Series

Static members

Static memberDescription
SeriesBuilder.( ?<- )(...)
Signature: (builder:SeriesBuilder<string,'V> * name:string * value:'V) -> unit

CompiledName: op_DynamicAssignment

Fork me on GitHub