> For the complete documentation index, see [llms.txt](https://docs.rasgoml.com/rasgo-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rasgoml.com/rasgo-docs/rasgo-0.1/all-transforms/prefix.md).

# Prefix

Add a prefix to each column name

## Parameters

| Name   | Type  | Description                          | Is Optional |
| ------ | ----- | ------------------------------------ | ----------- |
| prefix | value | text to prefix each column name with |             |

## Example

```python
ds = rasgo.get.dataset(74)

ds2 = ds.prefix(prefix='PRODUCT')

ds2.preview()
```

## Source Code

{% embed url="<https://github.com/rasgointelligence/RasgoTransforms/blob/main/rasgotransforms/rasgotransforms/transforms/prefix/prefix.sql>" %}
