Version: v2.3
ZipWithIndex
This node Generates a new column with unique Index/Value for each row in the Dataset
Type
transform
Fields
Name | Title | Description |
---|---|---|
indexColName | Index Column Name | Index column name |
Examples
Input
id | label | f1 | f2 |
---|---|---|---|
6 | 1.0 | 2.1 | 2.0 |
4 | 0.0 | 4.1 | 5.0 |
5 | 0.0 | 3.1 | 6.0 |
66 | 1.0 | 2.1 | 2.0 |
Parameters
Name | Value |
---|---|
Index Column Name | row_id |
Output
id | label | f1 | f2 | row_id |
---|---|---|---|---|
6 | 1.0 | 2.1 | 2.0 | 0 |
4 | 0.0 | 4.1 | 5.0 | 1 |
5 | 0.0 | 3.1 | 6.0 | 2 |
66 | 1.0 | 2.1 | 2.0 | 3 |