1st dataframe is this (df1):
Col1 Col2
abc 5
xyz 153
yyy 24
zzz 90
2nd dataframe is like this (df2):
col3 col
233 533
This is the output I want (Concat df2 on df1 on axis=1 on all rows):
Col1 Col2 col3 col
abc 5 233 533
xyz 153 233 533
yyy 24 233 533
zzz 90 233 533
But when I do pd.concat([df1,df2],axis=1), I get this result:
Col1 Col2 col3 col
abc 5 233.0 533.0
xyz 153 NaN NaN
yyy 24 NaN NaN
zzz 90 NaN NaN