Reshape
Use the Reshape tool to long-form data (many rows) to wide-form data (many columns) and vice versa. Reshape your table to convert rows to columns or columns to rows. This is a way of transposing your data into another format.
Use with the Forecast tool.
Input
The Reshape tool requires one data input.
Configuration
Use the following configuration options to help create your Reshape tool.
Go to the Pipes module from the side navigation bar.
From the Pipes tab, click an existing pipe to open, or create a new pipe. To create a new pipe, read the Creating a pipe documentation.
In the Pipe builder, add a data source to your pipe. For more information on adding a data source, see the Data Input tool.
Click
+ Tool.The Tools modal opens, where you can add tools, such as the Aggregate tool, to your pipe.
In the tools modal, search for Reshape. Click + Add tool.
Tip
You can also find the Reshape tool in the Organize section.
Click the tool node and drag the line to the next tool to connect the tools. If you need to undo the action, click the line and then click Unlink.
In the configuration pane, under Columns to rows - Rows to columns, toggle to switch to either turning columns into rows or rows into columns.
In the Column to rows configuration, under Columns to row values, select the column(s) for rows.
Under New label column name, enter the new name for the column.
Under New value column name, enter the new value column name.
In the Rows to columns configuration, under Label column, select the column(s) to label. Ensure that the column is unique from the Value column.
Under Value column, select the value column. Ensure that the column is unique from the Labe column.
Under the Rows to values columns, type a label value and press Enter or pick a suggestion from the list provided.