Skip to main content

Lists

Take lists in multiple columns and merge them to a single list.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputList of input columns.array—Yes
outputName of the output column.string—Yes
Options
remove_duplicatesWhether to remove duplicates from the created list.booleanfalseNo
ignore_caseIgnore case when removing duplicates.booleanfalseNo
include_emptyWhether to include empty values in the created list.booleantrueNo
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.lists:
input:
- col1
- col2
output: Combined Col
remove_duplicates: false
Col1Col2
['A', 'B']['D', 'E']
Combined Col
['A', 'B', 'D', 'E']
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountNo
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID44
Catalog keymerge.lists
Recipe keymerge.lists
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
Namespacemerge
Documentation groupmerge
AliasesNone
Runtime symbolwrangles.recipe_wrangles.merge.lists
Legacy UUIDd9978f00-b3d4-4583-884e-a53b98a43e9a

Sources