Add rows from one dataset to another.
join
parameter controls whether only the
common columns are kept (inner
), or all columns (outer
). In the latter case, rows will have missing
values (NaNs), where a column only existed in one of the two datasets.
Examples
ds_right
to the dataset ds_left
, keeping all columns from both datasets:ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
Outputs
ds_left
, and ds_right
,
as well as an aditional column original_index
indicating the index of each row in its original dataset.step(..., {"param": "value", ...}) -> (output)
.
Parameters
"inner"
, only common columns will be kept. When "outer"
, all columns will be kept.Values must be one of the following:inner
outer