Reshape between long and wide formats
Reshapes data between long and wide formats. Pivot turns row values into columns; unpivot melts columns back into key/value rows.
| Field | Description |
|---|---|
| Input variablerequired | Which variable to use as the upstream dataset to read. |
| Mode | pivot (long → wide) or unpivot (wide → long). |
| Columns | Index, pivot, and value columns (pivot), or the columns to melt (unpivot). |
| Output variable namerequired | Name this node's result so downstream nodes can select it. Auto-suggested; edit freely. |
Open the node's real configuration, run it on the sample below, and see the result. Nothing is saved.
Sample input · data
| month | city | sales |
|---|---|---|
| Jan | Tunis | 10 |
| Jan | Sfax | 7 |
| Feb | Tunis | 12 |
| Feb | Sfax | 9 |
This is a live preview — the sample and results are temporary and never saved.