Got it, the solution was vcat and comprehensions.  

On Saturday, October 18, 2014 10:16:38 AM UTC-7, Arshak Navruzyan wrote:
>
> Hello,
>
> I'd like to do a sort of a pivot of my dataframe where each of the 20 rows 
> turn into a column.  I'm using partition from Iterators but can't turn it 
> back to an array.
>
> nrow(df)
>
> 31371
>
> arr = Float64[]
>
> for i in partition(df[:a], 20)
>     push!(arr,i)
> end
>
> I want to end up with a 31371x20 Array{Float64,2}:
>
> Thanks!
>

Reply via email to