Skip to content

Commit 99447bd

Browse files
committed
Update modify.jl
1 parent 5f76b93 commit 99447bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataset/modify.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ julia> body = Dataset(weight = [78.5, 59, 80], height = [160, 171, 183])
430430
2 │ 59.0 171
431431
3 │ 80.0 183
432432
433-
julia> modify!(body, :height => byrow(x -> (x/100)^2) => :BMI, [1, 3] => byrow(/) => :BMI)
433+
julia> modify!(body, :height => byrow(x -> (x/100)^2) => :BMI, (1, 3) => byrow(/) => :BMI)
434434
3×3 Dataset
435435
Row │ weight height BMI
436436
│ identity identity identity

0 commit comments

Comments
 (0)