It would be a bad idea to return Array{T, 1} in the special case of a file 
with a single column. The return type would be dependent upon the csv file 
which is a really bad design.

On Sunday, May 11, 2014 8:29:57 PM UTC+2, Ethan Anderes wrote:
>
> Does it make sense to have readcsv return an Array{T, 1} when the file 
> contains a single column? Currently it returns Array{T, 2}.
>
> I guess it makes sense in terms of consistency but I find myself 
> constantly appending [:] when reading in a vector. Is this what others do?
>

Reply via email to