Skip to main content

To List

Take multiple columns and merge them to a list.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputList of input columns.array—Yes
outputName of the output column.string—Yes
Options
include_emptyWhether to include empty columns in the created list.booleanfalseNo
Conditions
ifCondition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}.string—No
whereFilter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'.string—No
where_paramsValues used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name.array, object—No

Examples​

wrangles:
- merge.to_list:
input:
- Col1
- Col2
- Col3
output: List Col
Col1Col2Col3
ABC
List Col
['A', 'B', 'C']
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountNo
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID46
Catalog keymerge.to_list
Recipe keymerge.to_list
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
Namespacemerge
Documentation groupmerge
AliasesNone
Runtime symbolwrangles.recipe_wrangles.merge.to_list
Legacy UUIDd5300fe7-c8a4-4a41-8f12-f2c1698678cc

Sources