JuliaData / JuliaDB.jl

Parallel analytical database in pure Julia
http://juliadb.org/
Other
768 stars 62 forks source link

Conversion to an array #183

Open ChrisRackauckas opened 6 years ago

ChrisRackauckas commented 6 years ago
convert(Array,data)

fails for data a JuliaDB/IndexedTables table. For this numerical data it would be nice to be able to easily get the corresponding array.

piever commented 6 years ago

You mean as in hcat(columns(data)...)? I'm not 100% sure about convert(Array, data) as one could be expecting a Vector of Tuples, but maybe convert(Matrix, data::AbstractIndexedTable) could be implemented to do what you want.