Login
Back to bricks list
Introduction Version

Extract row values to column tags

TRANSFORMER
Typing name :  TASK.gws_core.TableRowValuesToColumnTagExtractor Brick :  gws_core

Extract the values of 1 or more rows to column tags

Transformer to extract values of rows into in column tags.

Multiple rows can be provided to extract multiple tags (one tag is created by row).

Example

Let's say you have the following table, the first row doesn't exist on the table, it is here to show the column tags.

Row names A B
0 1 5
1 2 6

Here is the result of the extraction of the 0 row (first row).

Row names A B
Column tags 0 1
0 1 5
1 2 6

The columns are tagged with the values of the 0 row (first row).

Input

Table
2d excel like table

Output

Table
2d excel like table

Configuration

params

Type : ListMaximum occurrences number : -1

row

Name of the row to extract values from

Type : string

delete_row

Optional

Delete the row after the extraction

Type : bool