DataFrame(d::Dict) trying to access d(:key).

here's the PR associated to the issue #625 

cheers
ok!


On 17 June 2014 10:41, Ivar Nesje <notifications@github.com> wrote:

> In src/dataframe/dataframe.jl:
>
> > @@ -87,19 +87,20 @@ end
> >
> >  # Pandas' Dict of Vectors -> DataFrame constructor w/ explicit column names
> >  function DataFrame(d::Dict)
> > -    cnames = sort(Symbol[x for x in keys(d)])
> > -    p = length(cnames)
> > +    dnames = sort(collect(keys(d)))
>
> Should we use sort! for efficiency?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/JuliaStats/DataFrames.jl/pull/626/files#r13850253>.
>