I have two Pandas DataFrames, each with different columns. I want to basically glue them together horizontally (they each have the same number of rows so this shouldn't be an issue).
There must be a simple way of doing this but I've gone through the docs and concat isn't what I'm looking for (I don't think).
Any ideas?
Thanks!
pd.concat([df1,df2], axis=1)to concatenate horizontally - EdChumpd.concat([df1, df2.set_index(df1.index)], axis=1)- ivankeller