title: Create dataframe with space separated data using PySpark
body: <p>How can I create a dataframe for space separated columns?</p>
  
  <p>DataType</p>
  
  <pre><code>yyyy  mm   tmax    tmin      af    rain     sun
  1853   1    ---     ---     ---    57.3     ---
  1853   2    ---     ---     ---    32.3     ---
  1853   3    ---     ---     ---    65.5     ---
  1853   4    ---     ---     ---    46.2     ---
  1853   5    ---     ---     ---    13.2     ---
  1853   6    ---     ---     ---    53.3     ---
  1853   7    ---     ---     ---    78.0     ---
  1853   8    ---     ---     ---    56.6     ---
  1853   9    ---     ---     ---    24.5     ---
  1853  10    ---     ---     ---    94.8     ---
  1853  11    ---     ---     ---    75.5     ---
  </code></pre>