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
Trying to run fit_rdataset.jl, which is not included in the Pkg.test("LowRankModels"). this line of code
now we'll try it without type imputation
we'll just fit four of the columns, to try out all four data types
dd = DataFrame([df[s] for s in [:TOD, :Scale, :Vigorous, :Wakeful]])
dd[end] = (dd[end].==1)
datatypes = [:real, :cat, :ord, :bool]
gives the following error:
MethodError: Cannot convert an object of type Array{DataArrays.AbstractDataArray{T,1},1} to an object of type DataFrames.DataFrame
This may have arisen from a call to the constructor DataFrames.DataFrame(...),
since type constructors fall back to convert methods.
in DataFrames.DataFrame(::Array{DataArrays.AbstractDataArray{T,1},1}) at .\sysimg.jl:53
Thank you.
The text was updated successfully, but these errors were encountered:
Trying to run fit_rdataset.jl, which is not included in the Pkg.test("LowRankModels"). this line of code
now we'll try it without type imputation
we'll just fit four of the columns, to try out all four data types
dd = DataFrame([df[s] for s in [:TOD, :Scale, :Vigorous, :Wakeful]])
dd[end] = (dd[end].==1)
datatypes = [:real, :cat, :ord, :bool]
gives the following error:
MethodError: Cannot
convert
an object of type Array{DataArrays.AbstractDataArray{T,1},1} to an object of type DataFrames.DataFrameThis may have arisen from a call to the constructor DataFrames.DataFrame(...),
since type constructors fall back to convert methods.
in DataFrames.DataFrame(::Array{DataArrays.AbstractDataArray{T,1},1}) at .\sysimg.jl:53
Thank you.
The text was updated successfully, but these errors were encountered: