Converting yyyymmdd to MM-dd-yyyy format in pyspark
<p>I have a large data frame df containing a column for date in the format <code>yyyymmdd</code>, how can I convert it into <code>MM-dd-yyyy</code> in pySpark.</p>