You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hao Cheng edited this page Dec 19, 2017
·
2 revisions
Scratchpad
use dfy = DataFrame(x1=1:size(y,1),y=y), not dfy = DataFrame([1:size(y,1) y]), for the first one dfy[:y] gives DataArrays.DataArray{Float64,1} (sth in DataFrames), the second one gives Array{Float64,1}, THIS MAKES errors with convert(Array,dfy[:y],0.0) --- convert NA to 0.