FrameTRowKey, TColumnKeyAddColumn Method |
Name | Description | |
---|---|---|
AddColumn(TColumnKey, ISeriesTRowKey) |
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.
## 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
[category:Series operations]
| |
AddColumnV(TColumnKey, IEnumerableV) |
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.
## Parameters
- `column` - A key (or name) for the newly added column
- `series` - A sequence of values to be added
[category:Series operations]
| |
AddColumnV(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]
| |
AddColumnV(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]
|