I hope to be clear on the questions, but let me explain me better here: I have this dataframe:
m = DataFrame(
x = [1,2,3],
y = [[1,2,3],[4,5,6],[7,8,9]])
My objective is to obtain the column z which is each y-array squared plus the x-string corresponding the position in the columns. Maybe you can get it in that way:
m = DataFrame(
x = [1,2,3],
y = [[1,2,3],[4,5,6],[7,8,9]],
z = [[2,5,10],[18,27,38],[52,67,84]])
I can do it in R using this code:
m <- m %>% mutate(z = map2(x,y, ~map2_dbl(.x,.y, ~ (.x + .y^2))))
Is there something similar in Julia? Regards