Skip to main content

Common

In Julia, we can apply the following code with DataFramesMeta package to solve this problem.

a = randn(1000, 1000) |> DataFrame

@chain a begin
@transform(:x = :x .+ 1)
@transform(:y = :x .+ 2)
end