I know that by Daru::DataFrame#concat
one can concatenate dataframes, appending the argument df to the bottom of the caller df.
Now I want to achieve what is df.concat(other, axis=1)
in Pandas. In other words, given I have two dataframes where the index are the same, append one df to the right of the other df, resulting df having same index but the concatenated vectors.
Is this possible by some method? Or do I need to iterate and add each columns in for loop?
Is this what you are looking for possibly?
data_frame = data_frame.join(jobs_data_frame, how: :left, on: [:user_id])