Im sure this has been answered before as this seems like a pretty trivial question but I cant for the life of me figure out how to add a 2d array to a 1d array along the column so that there are two values in each row.
a = [[1,2,3], [1,3,5], [1,1,1]]
b = [[1], [2], [5]]
so what numpy function can I use to generate
[ [[1,2,3],[1]], [[1,3,5],[2]], [[1,1,1],[5]] ]
Cheers!