Creating a pyspark.sql.dataframe out of two columns in two different pyspark.sql.dataframes in PySpark
<p>Assume the following two Dataframes in pyspark with equal number of rows:<br>
df1:<br>
&emsp;|_ Column1a<br>
&emsp;|_ Column1b</p>

<p>df2:<br>
&emsp;|_ Column2a<br>
&emsp;|_ Column2b<br></p>

<p>I wish to create a a new DataFrame "df" which has Column1a and Column 2a only. What could be the best possible solution for it?</p>