I have two arrays:
array1 = [1,2,3]
array2 = [10,20,30]
I want the next sum:
array3 = [10+1,10+2,10+3,20+1,20+2,20+3,30+1,30+2,30+3]
How can I do that?
(I know that it can be done with two for loops but I want something more efficient if possible)
Note: those two arrays are contained in a dataframe (pandas)