The function you’re looking for is now called names!

DataFrames is still in a state of flux, so you should expect the documentation 
to lag behind.

 — John

On May 3, 2014, at 11:24 AM, AK <[email protected]> wrote:

> Hi,
> 
> I am starting with Julia and I have to say that I am experiencing quite some 
> problems already with the basics. How for example can I change the column 
> names of a DataFrame?
> The solution provided at 
> https://groups.google.com/forum/#!topic/julia-users/M8CUl-42x1Q :
> 
> df = DataFrame(x1=rand(5)
> rename(df, "x1", "randomnubers")
> 
> as well as here 
> http://stackoverflow.com/questions/21559683/how-do-you-change-multiple-column-names-in-a-julia-version-0-3-dataframe
>  (which follow the documentation 
> http://harlanh.github.io/DataFrames.jl/function_reference_guide.html) don't 
> seem to work.
> 
> How do I solve this specific problem and where do I find an up-to-date 
> documentation?
> 
> Best regards,
> 
> Andreas 
> 
> 

Reply via email to