Extract column tags to new row
Extract column tags values to a new row
Transformer to extract values of tags into in new rows that are appended to the end of the table.
Multiple tag keys can be provided to extract multiple tags (one row is created by tag key).
Example
Let's say you have the following table, the first row does not really exist in the table, it is just to show the tags of the columns.
Row name | A | B |
---|---|---|
Column tags | Gender : M | Gender : F |
0 | 1 | 5 |
1 | 2 | 6 |
Here is the result of the extraction of the Gender
tag.
Row name | A | B |
---|---|---|
Column tags | Gender : M | Gender : F |
0 | 1 | 5 |
1 | 2 | 6 |
Gender | M | F |
A new row is created containing the values of the Gender
tag.
Input
Table
2d excel like table
Output
Table
2d excel like table
Configuration
params
List
-1
tag_key
Tag key to extract
string
new_row_name
Name of the new row that will contain the tag values. If empty, the tag key will be used
string