chapter 12 code clearnup
This commit is contained in:
6
ch12.jl
6
ch12.jl
@@ -274,9 +274,9 @@ glm(@formula(ml_target~log1p(deg_ml)+log1p(deg_web)), classes_df, Binomial(), Lo
|
|||||||
|
|
||||||
# Code for inserting columns to a data frame
|
# Code for inserting columns to a data frame
|
||||||
|
|
||||||
df = DataFrame(x=1:3)
|
df = DataFrame(x=1:2)
|
||||||
insertcols!(df, :y => 4:6)
|
insertcols!(df, :y => 4:5)
|
||||||
insertcols!(df, :y => 4:6)
|
insertcols!(df, :y => 4:5)
|
||||||
insertcols!(df, :z => 1)
|
insertcols!(df, :z => 1)
|
||||||
|
|
||||||
insertcols!(df, 1, :a => 0)
|
insertcols!(df, 1, :a => 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user