Pivot rows into columns transform
Use this transform to aggregate the values of a numeric column into categories by using the values of the columns configured.
To add a Pivot Rows Into Columns 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 Pivot Rows Into Columns.
-
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 Aggregation column, select a numeric column to use.
-
Under Aggregation, select a Spark function to apply to the aggregation column.
-
Under Columns to convert, select columns whose values will become new columns.