Unpivot columns into rows transform
Use this transform to convert column names into values of a new column and generate one row for each column in the original row.
To add an Unpivot Columns Into Rows transform:
-
Navigate to your visual ETL job in Amazon SageMaker Unified Studio.
-
Choose the plus icon to open the Add nodes menu.
-
Under Transforms, choose Unpivot Columns Into Rows.
-
Select the diagram to add the node to your visual ETL job.
-
Connect the transform node to a data source node.
-
Select the node on the diagram to view details about the transform.
-
Under Unpivot names column, enter a column to create out of the source column names.
-
Under Unpivot values column, enter a column to create out of the source column values.
-
Under Columns to unpivot into the new value column, select the column or columns whose names will become the values of the new column.