CombineColumns¶
Combines columns from a list of StepInput.
CombineColumns is a Step that implements the process method that calls the combine_dicts
function to handle and combine a list of StepInput. Also CombineColumns provides two attributes
columns and output_columns to specify the columns to merge and the output columns
which will override the default value for the properties inputs and outputs, respectively.
Attributes¶
-
columns: List of strings with the names of the columns to merge.
-
output_columns: Optional list of strings with the names of the output columns.
Input & Output Columns¶
graph TD
subgraph Dataset
subgraph Columns
ICOL0[dynamic]
end
subgraph New columns
OCOL0[dynamic]
end
end
subgraph CombineColumns
StepInput[Input Columns: dynamic]
StepOutput[Output Columns: dynamic]
end
ICOL0 --> StepInput
StepOutput --> OCOL0
StepInput --> StepOutput
Inputs¶
- dynamic (determined by
columnsattribute): The columns to merge.
Outputs¶
- dynamic (determined by
columnsandoutput_columnsattributes): The columns that were merged.