title: How to show a column in a PySpark dataframe in the scientific notation with proper format
body: <p>Suppose that I have a dataframe in pyspark as follows:</p>
  
  <pre><code>+---------+---------+
  |   col1  |  col2   |
  +---------+---------+
  |3.34567e4| 45876549| 
  +---------+---------+
  |4.4781e8 | 7856549 |
  +---------+---------+
  </code></pre>
  
  <p>I want to keep <code>col1</code> in scientific notation but show the number with 2 decimal place. I also want to change <code>col2</code> to scientific format. So the result should be as follows:</p>
  
  <pre><code>+---------+---------+
  |   col1  |  col2   |
  +---------+---------+
  |  3.35e4 |  4.59e7 | 
  +---------+---------+
  |  4.48e8 |  7.86e6 |
  +---------+---------+
  </code></pre>
  
  <p>I searched a lot but I haven't found any answer.</p>