I’m happy with using tuples since that will make it easier to construct 
DataFrames from iterators.

 — John

On May 27, 2014, at 11:37 PM, Tomas Lycken <[email protected]> wrote:

> I like it - but maybe that wasn't so hard to guess I would ;)
> 
> // T
> 
> On Tuesday, May 27, 2014 10:11:15 PM UTC+2, Jacques Rioux wrote:
> Let me add a thought here. I also think that adding a row to a dataframe 
> should be easier. However, I do not think that an array would be the best 
> container to represent a row because array members must all be of the same 
> type which brings up Any as the only options in your example.
> 
> I think that appending or pushing a tuple with the right types could be made 
> to work. 
> 
> So it would be 
> 
> julia> push!(psispread, (1.0,0.1,:Fake))
> 
> or
> 
> julia> append!(psispread, (1.0,0.1,:Fake))
> 
> since 
> 
> julia> typeof((1.0, 0.1, :fake))
> (Float64,Float64,Symbol)
> 
> Note, I am not saying that this works now but that it could be made to work 
> by adding the corresponding method to either function. It seems it is the 
> right construct.
> 
> Any thoughts?

Reply via email to