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?
I hope this is related.
Why isn't part of a row of Array{T, 2} of Array{T, 1}? Consider vec1 in
the following example.
df = readcsv(fname)
vec1 = df[3, 1:4]
@Kleo: The very sort answer is that df[3,1:4] is considered a 1-by-4 matrix
(hence Array{T,2}). For df[1:4,3], Julia drops the trailing dimension and
returns an Array{T, 1}. If you really want Array{T, 2} you can use df[1:4,3:3].
If you google it (I'm too lazy at the moment to find it) you can