Columns
Select columns from the dataframe.
Select columns from the dataframe
Parameters
| Name | Description | Accepted Values | Default | Required |
|---|---|---|---|---|
| I/O | ||||
input | Name of the column(s) to select. | string, integer, array | — | Yes |
| Conditions | ||||
if | Condition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}. | string | — | No |
where | Filter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'. | string | — | No |
where_params | Values used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name. | array, object | — | No |
Examples
wrangles:
- select.columns:
input: Manufacturer
| Part Number | Manufacturer |
|---|---|
| 1234 | SKF |
| 5678 | Timken |
| Manufacturer |
|---|
| SKF |
| Timken |
Access
| Requirement | Value |
|---|---|
| AI-powered | No |
| Requires WrangleWorks account | No |
| Requires subscription | No |
| Requires external API key | No |
Technical details
| Field | Value |
|---|---|
| Catalog ID | 49 |
| Catalog key | select.columns |
| Recipe key | select.columns |
| Catalog status | active |
| Lifecycle status | active |
| Recipe Writer eligible | Yes |
| Namespace | select |
| Documentation group | select |
| Aliases | None |
| Runtime symbol | wrangles.recipe_wrangles.select.columns |
| Legacy UUID | bca12c60-3957-4dc5-83f7-5ee460df2a11 |
Sources