title: How to append one dataframe into another dataframe as a column
body: <p>May be my issue description is wrong but what is described below. I need solution in pyspark.</p>
  <p>I have 2 data frames</p>
  <pre><code>Df1
  A B C
  1 2 3
  5 6 7
  8 9 1
  6 2 3
  
  Df2
  D E
  a b
  c d
  e f
  </code></pre>
  <p>I want final dataframe as below</p>
  <pre><code>A B C D E
  1 2 3 a b
  1 2 3 c d
  1 2 3 e f
  5 6 7 a b
  5 6 7 c d
  5 6 7 e f
  8 9 1 a b
  8 9 1 c d
  8 9 1 e f
  6 2 3 a b
  6 2 3 c d
  6 2 3 e f
  </code></pre>
  <p>Basically new dataframe will be for each row for DF1 will repeat for each row of DF2.
  Final count would be : <code>count(Df1) * count(Df2)</code></p>
  <p>Please help, I am new to pysaprk.</p>