Skip to main content

Attribute Wrangle

A VEX-style body: @name = expr; var t = expr; fn f(x) = expr;. Each statement is placed on its own.

Syntax​

{ "id": "n1", "op": "wrangle", "name": "wrangle", "x": 0, "y": 0, "params": {} }

An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out".

Inputs​

PortTypeTakes
intableone edge

Parameters​

ParameterKindDefaultChoices
codecode"@value = 1.0;"
rampmenu"viridis"37 choices

Outputs​

PortType
outtable

Details​

  • Category: Rows
  • Operator: wrangle