For the complete documentation index, see llms.txt. This page is also available as Markdown.

Unpivot

Turn columns into rows of variable and value.

The inverse of Pivot: turns columns into rows of a variable column and the column named in values, keeping index on each row.

At a glance

Module type

Unpivot

Category

Primitives · Dataframe

Default tier

reactive

Runs on

reactive, durable

Starts a flow

no

Holds a body

no

Keeps state between runs

no

Available in

every application type

Parameters

values

string · required · defaults to "value"

The name given to the column holding the values.

columns

string[] · required · defaults to []

The columns turned into rows.

index

string[] · required · defaults to []

The columns kept on every emitted row.

Inputs

Port
Kind
Required
Description

on

event

no

Implicit on every module that does not itself start a flow: wire an event here to make this module the start of what that event runs.

data

dataframe

yes

The frame to work on.

Outputs

Port
Kind
Connects to
Description

output

dataframe

dataframe, signal

The index columns, a variable column, and the values column.


← All application modules

Last updated