Skip to main content

Index

Create column(s) with an incremental index. e.g. 1,2,3...

Create a new incremental index.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
outputName or list of names of new columns.string, array—Yes
byOptional. Cluster the created indexes by one or more columns.string, array, nullnullNo
Options
start(Optional; default 1) Starting number for the index.integer1No
step(Optional; default 1) Step between successive rows.integer1No
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:
- create.index:
output: New Index
start: 1 # optional
step: 1 # optional

No sample available.

New Index
1
2
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountNo
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID17
Catalog keycreate.index
Recipe keycreate.index
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
Namespacecreate
Documentation groupcreate
AliasesNone
Runtime symbolwrangles.recipe_wrangles.create.index
Legacy UUID0a4909ca-6e14-4da7-8a70-a7fd106d6944

Sources