Apply function By Row without re-stating column names

is it not possible to make your function accept a dataframe instead?

e.g.

using DataFrames
df = DataFrame(a = 1:10, b = 11:20)

function f(df)
  (x = df.a .+  df.b, )
end

transform(df, AsTable(:) => f => AsTable)
1 Like