title: How to concatenate/append multiple Spark dataframes column wise in Pyspark?
body: <p>How to do pandas equivalent of pd.concat([df1,df2],axis='columns') using Pyspark dataframes?
  I googled and couldn't find a good solution.</p>
  
  <pre><code>DF1
  var1        
       3      
       4      
       5      
  
  DF2
  var2    var3     
    23      31
    44      45
    52      53
  
  Expected output dataframe
  var1        var2    var3
       3        23      31
       4        44      45
       5        52      53
  </code></pre>
  
  <p>Edited to include expected output</p>