I am a complete julia novice, so I may simply not understand the following. 
 when I type

> julia> d=readcsv("myfile.csv")
> julia> typeof(d)

Array{Any,2}


I think this shows that it interprets the header as data, and sets the 
columns to be of type "any".  alas 
https://dataframesjl.readthedocs.org/en/latest/io.html#advanced-options-for-reading-csv-files
 states 
that `header::Bool – Use the information from the file’s header line to 
determine column names. Defaults to true.`  but it only works if I force it 
to true:

> julia> d=readcsv("myfile.csv", header=true)
> julia> typeof(d)

Tuple{Array{Float64,2},Array{AbstractString,2}}  

 
seems to interpret the header as variable names.

is header=true the default on readcsv, is the docs wrong, or am I doing 
something wrong?

/iaw

Reply via email to