Skip to content

Commit be35291

Browse files
committed
edit 2
1 parent da226ab commit be35291

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

articles/machine-learning/component-reference/add-columns.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,68 @@ Use this component to concatenate two datasets. You combine all columns from the
2020

2121

2222

23+
## How to configure Add Columns
24+
1. Add the **Add Columns** component to your pipeline.
25+
26+
2. Connect the two datasets that you want to concatenate. If you want to combine more than two datasets, you can chain together several combinations of **Add Columns**.
27+
28+
- It is possible to combine two columns that have a different number of rows. The output dataset is padded with missing values for each row in the smaller source column.
29+
30+
- You cannot choose individual columns to add. All the columns from each dataset are concatenated when you use **Add Columns**. Therefore, if you want to add only a subset of the columns, use Select Columns in Dataset to create a dataset with the columns you want.
31+
32+
3. Submit the pipeline.
33+
34+
### Results
35+
After the pipeline has run:
36+
37+
- To see the first rows of the new dataset, right-click the **Add Columns** component and select Visualize. Or Select the component and switch to the **Outputs** tab in the right panel, click on the histogram icon in the **Port outputs** to visualize the result.
38+
39+
The number of columns in the new dataset equals the sum of the columns of both input datasets.
40+
41+
If there are two columns with the same name in the input datasets, a numeric suffix is added to the name of the column. For example, if there are two instances of a column named TargetOutcome, the left column would be renamed TargetOutcome_1 and the right column would be renamed TargetOutcome_2.
42+
43+
## Next steps
44+
45+
See the [set of components available](component-reference.md) to Azure Machine Learning.
46+
47+
48+
This article describes a component in Azure Machine Learning designer. test edit
49+
50+
Use this component to concatenate two datasets. You combine all columns from the two datasets that you specify as inputs to create a single dataset. If you need to concatenate more than two datasets, use several instances of **Add Columns**.
51+
52+
53+
54+
## How to configure Add Columns
55+
1. Add the **Add Columns** component to your pipeline.
56+
57+
2. Connect the two datasets that you want to concatenate. If you want to combine more than two datasets, you can chain together several combinations of **Add Columns**.
58+
59+
- It is possible to combine two columns that have a different number of rows. The output dataset is padded with missing values for each row in the smaller source column.
60+
61+
- You cannot choose individual columns to add. All the columns from each dataset are concatenated when you use **Add Columns**. Therefore, if you want to add only a subset of the columns, use Select Columns in Dataset to create a dataset with the columns you want.
62+
63+
3. Submit the pipeline.
64+
65+
### Results
66+
After the pipeline has run:
67+
68+
- To see the first rows of the new dataset, right-click the **Add Columns** component and select Visualize. Or Select the component and switch to the **Outputs** tab in the right panel, click on the histogram icon in the **Port outputs** to visualize the result.
69+
70+
The number of columns in the new dataset equals the sum of the columns of both input datasets.
71+
72+
If there are two columns with the same name in the input datasets, a numeric suffix is added to the name of the column. For example, if there are two instances of a column named TargetOutcome, the left column would be renamed TargetOutcome_1 and the right column would be renamed TargetOutcome_2.
73+
74+
## Next steps
75+
76+
See the [set of components available](component-reference.md) to Azure Machine Learning.
77+
78+
79+
This article describes a component in Azure Machine Learning designer. test edit
80+
81+
Use this component to concatenate two datasets. You combine all columns from the two datasets that you specify as inputs to create a single dataset. If you need to concatenate more than two datasets, use several instances of **Add Columns**.
82+
83+
84+
2385
## How to configure Add Columns
2486
1. Add the **Add Columns** component to your pipeline.
2587

0 commit comments

Comments
 (0)