# Duplicate column

The Duplicate column step enables you to duplicate a specific column. The duplicated column will be added to the end of the dataset.

### Step parameters

* `Duplicate column...` **column(string)\***: the column to duplicate
* `new column name` **string\***: Set a name for the duplicated column.

### Example

**Input**

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-5ada17b760e1e901b5777d42c84d20e644422c00%2Fduplicate.png?alt=media" alt=""><figcaption><p>Column header - duplicate column input</p></figcaption></figure>

**Configuration**

```json
{
    "column": "Value",
    "new_column_name": "Value_duplicate"
}
```

**Output**

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-4fb8f50f99a5dda16b52ce21274f26d14b14d095%2Fduplicate_resumt.png?alt=media" alt=""><figcaption><p>Column header - duplicate column output</p></figcaption></figure>

{% hint style="warning" %}
an error will be raised if you try to set a name that is already used for another column.
{% endhint %}
