Shape · Summarize and reshape

Explode

Turns each item of a list column into its own row. For comma-separated text, use Split to Rows instead.

Also known as: Unnest, flatten

How it works

Pick the List column to explode. Each element becomes its own row in that column and every other column repeats. The column can be a native list or a text column holding a JSON array such as ["a", "b"]; the node checks the type at run time. A row whose list is null or empty is dropped, unlike Split to Rows, which keeps one row.

Inputs and outputs

Inputs

  • data — Table

Outputs

  • data — Table

Settings

The Attributes panel of Explode, as in the app: the controls work, but nothing runs — there is no data behind it.

The same settings, as the Assistant writes them
{
  column: string
}

Example

A JSON reader gives an items column holding an array per order. Explode items to get one row per item, then pull the fields you need out of it.