Copy
Make a copy of a column or a list of columns.
Create a copy of columns in a dataframe.
Parameters
| Name | Description | Accepted Values | Default | Required |
|---|---|---|---|---|
| I/O | ||||
input | Name of the input columns or columns. | string, integer, array, null | null | No |
output | Name of the output columns or columns. | string, array, null | null | No |
| 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:
- copy:
input: Product Data
output: Product Data (copy)
| Product Data |
|---|
| SKF ball brg |
| brg seal |
| Product Data | Product Data (copy) |
|---|---|
| SKF ball bearing | SKF ball bearing |
| bearing seal | bearing seal |
wrangles:
- copy:
Product Data: Product Data (copy)
| Product Data |
|---|
| SKF ball brg |
| brg seal |
| Product Data | Product Data (copy) |
|---|---|
| SKF ball bearing | SKF ball bearing |
| bearing seal | bearing seal |
Access
| Requirement | Value |
|---|---|
| AI-powered | No |
| Requires WrangleWorks account | No |
| Requires subscription | No |
| Requires external API key | No |
Technical details
| Field | Value |
|---|---|
| Catalog ID | 74 |
| Catalog key | copy |
| Recipe key | copy |
| Catalog status | active |
| Lifecycle status | active |
| Recipe Writer eligible | Yes |
| Namespace | Root-level |
| Documentation group | transform |
| Aliases | None |
| Runtime symbol | wrangles.recipe_wrangles.pandas.copy |
| Legacy UUID | b002fbdc-92c0-4347-889d-0f4bfeec99fa |
Sources