The functions in DataFrames appear to be working now.

To do what you want to do with unstack() you need to define an id variable, 
in this case (where you only want one row in the result) as a vector of 
identical values. Example:

using DataFrames
df = DataFrame(ct = ["a", "b", "c", "d"], x = randn(4), id = ones(Int, 4))
unstack(df, :id, :ct, :x)

-- 
You received this message because you are subscribed to the Google Groups 
"julia-stats" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to