Im trying to learn macros so i thought a simple step would be to write a macro that codes a variable based on a dataframe. I could manually set df1 through dfn, but i dont want to.
For example :
macro mac(i)
quote
df$i = DataFrame(CSV.File("~/dev/book$i.csv"))
end
end
If i test, in goes 2, but all that comes out is some weird string . . .
@mac(2)
df2
>> #416#$