[julia-users] Re: DataFrame vcat stack overflow

2015-01-03 Thread Guillaume Guy
Perfect. Thanks! On Friday, January 2, 2015 8:17:52 PM UTC-5, Sean Garborg wrote: > > Thanks for reporting -- it is a bug. Having a Array or DataArray with > NAtype as its eltype is a little awkward. Here's why it's causing you > trouble, and a couple alternatives: > > using DataFrames > nrows

[julia-users] Re: DataFrame vcat stack overflow

2015-01-02 Thread Sean Garborg
Thanks for reporting -- it is a bug. Having a Array or DataArray with NAtype as its eltype is a little awkward. Here's why it's causing you trouble, and a couple alternatives: using DataFrames nrows = 3 a = DataFrame(A = 1:nrows) # Column :A is all NA for all of these cases b1 = DataFrame(A = f

[julia-users] Re: DataFrame vcat stack overflow

2015-01-02 Thread Guillaume Guy
Sean: I found the problem. Not sure if that is a "bug" per se. Looking at one element of the Array (which is subsequently vcat-ed): Note the NA in the equipment column. When running my function (

[julia-users] Re: DataFrame vcat stack overflow

2014-12-31 Thread Sean Garborg
If you Pkg.update() and try again, you should be fine. DataFrames was overdue for a tagged release -- you'll get v0.6.0 which includes some updates to vcat. As a gut check, this works just fine: using DataFrames dfs = [DataFrame(Float64, 15, 15) for _=1:200_000] vcat(dfs) (If it doesn't for you

[julia-users] Re: DataFrame vcat stack overflow

2014-12-25 Thread Guillaume Guy
Hi David: That is where the stack overflow error is thrown. I attached the code + the data in my first post for your reference. On Thursday, December 25, 2014 6:59:57 PM UTC-5, David van Leeuwen wrote: > > Hello Guillome, > > On Monday, December 22, 2014 9:09:16 PM UTC+1, Guillaume Guy wrote:

[julia-users] Re: DataFrame vcat stack overflow

2014-12-25 Thread David van Leeuwen
Hello Guillome, On Monday, December 22, 2014 9:09:16 PM UTC+1, Guillaume Guy wrote: > > Dear Julia users: > > Coming from a R background, I like to work with list of dataframes which i > can reduce by doing do.call('rbind',list_of_df) > > After ~10 years of using R, I only recently leaned of th

[julia-users] Re: DataFrame vcat stack overflow

2014-12-24 Thread Guillaume Guy
Let me know if you need any additional info. On Monday, December 22, 2014 3:09:16 PM UTC-5, Guillaume Guy wrote: > > Dear Julia users: > > Coming from a R background, I like to work with list of dataframes which i > can reduce by doing do.call('rbind',list_of_df) > > In Julia, I attempted to use