Click or drag to resize
FrameTRowKey, TColumnKeyReplaceColumn Method (TColumnKey, ISeriesTRowKey, Lookup)
Mutates the data frame by replacing the specified series with a new series. (If the series does not exist, only the new series is added.) When adding a series, the specified `lookup` parameter is used for matching keys. 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
C#
public void ReplaceColumn(
	TColumnKey column,
	ISeries<TRowKey> series,
	Lookup lookup
)

Parameters

column
Type: TColumnKey

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

series
Type: DeedleISeriesTRowKey

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

lookup
Type: DeedleLookup

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

See Also