Click or drag to resize
FrameTRowKey, TColumnKeyReplaceColumn Method
Overload List
  NameDescription
Public methodReplaceColumn(TColumnKey, ISeriesTRowKey)
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.) ## 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) [category:Series operations]
Public methodReplaceColumnV(TColumnKey, IEnumerableV)
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.) ## Parameters - `column` - A key (or name) for the column to be replaced or added - `series` - A sequence of values to be added [category:Series operations]
Public methodReplaceColumn(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]
Public methodReplaceColumnV(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]
Top
See Also