Login
Back to bricks list
Introduction Version

Extract column values to row tags

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

Extract the values of 1 or more columns to row tags

Transformer to extract values of columns into in row tags.

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

Example

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

Row tags A B
1 5
2 6

Here is the result of the extraction of the A column.

Row tags A B
A : 1 1 5
A : 2 2 6

The rows are tagged with the values of the A column.

Input

Table
2d excel like table

Output

Table
2d excel like table

Configuration

params

Type : ListMaximum occurrences number : -1

column

Name of the column to extract values from

Type : string

delect_columns

Optional

Delete the column after the extraction

Type : bool