# Pluto: how to change column names of a data frame?

**URL:** <https://discourse.julialang.org/t/pluto-how-to-change-column-names-of-a-data-frame/66903>\
**Category:** General Usage\
**Tags:** dataframes\
**Created:** [August 24, 2021, 10:19am UTC](https://discourse.julialang.org/t/pluto-how-to-change-column-names-of-a-data-frame/66903 "2021-08-24T10:19:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VivMendes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vivmendes/32/16477_2.png) [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Post date:** [August 24, 2021, 10:19am UTC](https://discourse.julialang.org/t/pluto-how-to-change-column-names-of-a-data-frame/66903/1 "2021-08-24T10:19:05Z")

</div>

Hi all,

I have a simple data frame that is working Ok inside Pluto. I have to change the names of the column headers because they are too long.

The usual procedure is to use the function `rename!` but this does not work with Pluto. Is there any way around this problem? I guess that the error is due to the reactivity properties. Thanks

MWE:

```julia
rename!(OECD,[:AUS, :AUT, :BEL, :CAN, :DNK, :FIN, :FRA, :DEU, :GRC, :IRL, :ITA, :JPN, :KOR, :NLD, :NZL, :NOR, :PRT, :ESP, :SWE, :CHE, :GBR , :USA])

```

Pluto throws out:

```julia
UndefVarError: rename! not defined

```

 ![a2](https://global.discourse-cdn.com/julialang/original/3X/2/d/2d5d3f8f67a84ff848791e99536868c4a1ce3ee0.png)

---

<div class="post-metadata">

**Author:** ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)\
**Post date:** [August 24, 2021, 10:37am UTC](https://discourse.julialang.org/t/pluto-how-to-change-column-names-of-a-data-frame/66903/2 "2021-08-24T10:37:21Z")

</div>

`rename!` seems to be working correctly in Pluto.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/e/2e26b791169e16027fa3c19505cd23425207b73e.png)

It might be that you have multiple packages exporting `rename!`?

Try using `DataFrames.rename!` and if the multiple export is the issue it should solve it

---

<div class="post-metadata">

**Author:** ![VivMendes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vivmendes/32/16477_2.png) [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Post date:** [August 24, 2021, 11:50am UTC](https://discourse.julialang.org/t/pluto-how-to-change-column-names-of-a-data-frame/66903/3 "2021-08-24T11:50:49Z")

</div>

Yep, you are right. Both DataFrames and TimeSeries export “rename!”. Thanks a lot.
