| FrameTRowKey, TColumnKeyAddColumnV Method (TColumnKey, ISeriesTRowKey, Lookup) |
Mutates the data frame by adding an additional data series
as a new column with the specified column key. The operation
uses left join and aligns new series to the existing frame keys.
A parameter `lookup` can be used to specify how to find a value in the
added series (if an exact key is not available). The `lookup` parameter
can only be used with ordered indices.
## Parameters
- `series` - A data series to be added (the row key type has to match)
- `column` - A key (or name) for the newly added column
- `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 public void AddColumn<V>(
TColumnKey column,
ISeries<TRowKey> series,
Lookup lookup
)
Parameters
- column
- Type: TColumnKey
[Missing <param name="column"/> documentation for "M:Deedle.Frame`2.AddColumn``1(`1,Deedle.ISeries{`0},Deedle.Lookup)"]
- series
- Type: DeedleISeriesTRowKey
[Missing <param name="series"/> documentation for "M:Deedle.Frame`2.AddColumn``1(`1,Deedle.ISeries{`0},Deedle.Lookup)"]
- lookup
- Type: DeedleLookup
[Missing <param name="lookup"/> documentation for "M:Deedle.Frame`2.AddColumn``1(`1,Deedle.ISeries{`0},Deedle.Lookup)"]
Type Parameters
- V
See Also