Hi @Kaniz Fatma ,
I no longer see the answer you've posted, but I see you were suggesting to use `union`. As per my understanding, union are used to stack the dfs one upon another with similar schema / column names.
In my situation, I have 2 different DataFrames with different columns (and schema) but same number of records. I want to stack them side by side.
For e.g: DF1 has 2 columns(a and b) and 10 rows and DF2 has 3 columns (x,y, and z) with same 10 rows. I want the resultant DataFrame to be with 10 rows and 5 columns (a,b,c,d and e).
Thank you 😀