Click or drag to resize
FrameTRowKey, TColumnKeyAddColumnV Method (TColumnKey, IEnumerableV, Lookup)
Mutates the data frame by adding an additional data series as a new column with the specified column key. The sequence is aligned to the data frame based on ordering. If it is longer, it is trimmed and if it is shorter, missing values will be added. A parameter `lookup` can be used to specify how to find a value in the added series (if the sequence contains invalid values like `null` or `NaN`). ## Parameters - `column` - A key (or name) for the newly added column - `series` - A sequence of values to be added - `lookup` - Specify how to find value in the added series (look for nearest available value with the smaller/greater key). [category:Series operations]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public void AddColumn<V>(
	TColumnKey column,
	IEnumerable<V> series,
	Lookup lookup
)

Parameters

column
Type: TColumnKey

[Missing <param name="column"/> documentation for "M:Deedle.Frame`2.AddColumn``1(`1,System.Collections.Generic.IEnumerable{``0},Deedle.Lookup)"]

series
Type: System.Collections.GenericIEnumerableV

[Missing <param name="series"/> documentation for "M:Deedle.Frame`2.AddColumn``1(`1,System.Collections.Generic.IEnumerable{``0},Deedle.Lookup)"]

lookup
Type: DeedleLookup

[Missing <param name="lookup"/> documentation for "M:Deedle.Frame`2.AddColumn``1(`1,System.Collections.Generic.IEnumerable{``0},Deedle.Lookup)"]

Type Parameters

V
See Also