| FrameTRowKey, TColumnKeyReplaceColumnV Method (TColumnKey, IEnumerableV, Lookup) |
Mutates the data frame by replacing the specified series with
a new data sequence. (If the series does not exist, only the new series is added.)
When adding a series, the specified `lookup` parameter is used for filling
missing values (e.g. `null` or `NaN`). The parameter can only be used for
frame with ordered indices.
## Parameters
- `column` - A key (or name) for the column to be replaced or added
- `series` - A data series to be used (the row key type has to match)
- `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 ReplaceColumn<V>(
TColumnKey column,
IEnumerable<V> data,
Lookup lookup
)
Parameters
- column
- Type: TColumnKey
[Missing <param name="column"/> documentation for "M:Deedle.Frame`2.ReplaceColumn``1(`1,System.Collections.Generic.IEnumerable{``0},Deedle.Lookup)"]
- data
- Type: System.Collections.GenericIEnumerableV
[Missing <param name="data"/> documentation for "M:Deedle.Frame`2.ReplaceColumn``1(`1,System.Collections.Generic.IEnumerable{``0},Deedle.Lookup)"]
- lookup
- Type: DeedleLookup
[Missing <param name="lookup"/> documentation for "M:Deedle.Frame`2.ReplaceColumn``1(`1,System.Collections.Generic.IEnumerable{``0},Deedle.Lookup)"]
Type Parameters
- V
See Also