I have been using the DataFrames package which is excellent by the way!

I don't know if its a problem but if i try to read a .csv file with only 
one line (which is supposed to be the header of the dataframe), it returns 
the error:

LoadError: ArgumentError: Columns and column index must be the same length
while loading In[20], in expression starting on line 1

 in call at 
/Users/joaquimdiasgarcia/.julia/v0.4/DataFrames/src/dataframe/dataframe.jl:95
 in builddf at 
/Users/joaquimdiasgarcia/.julia/v0.4/DataFrames/src/dataframe/io.jl:651
 in readtable! at 
/Users/joaquimdiasgarcia/.julia/v0.4/DataFrames/src/dataframe/io.jl:783
 in readtable at 
/Users/joaquimdiasgarcia/.julia/v0.4/DataFrames/src/dataframe/io.jl:847
 in readtable at 
/Users/joaquimdiasgarcia/.julia/v0.4/DataFrames/src/dataframe/io.jl:893


Of course i am using header=True (ex. 
readtable("teste.csv",separator=',',header=true) ).
I think it would be a nice feature to include this case, so that one can 
read the header and populate the dataframe. Should I post it somewhere 
else? Or nowhere at all because it has been decided not to include such 
feature.


Reply via email to