title: How can I create a dataframe using other dataframe (PySpark)?
body: <p>I'm using PySpark v1.6.1 and I want to create a dataframe using another one:</p>
  <ul>
  <li>Convert a field that has a struct of three values in different columns</li>
  <li>Convert the timestamp from string to datatime</li>
  <li>Create more columns using that timestamp</li>
  <li>Change the rest of the column names and types</li>
  </ul>
  <p>Right now is using .map(func) creating an RDD using that function (which transforms from one row from the original type and returns a row with the new one). But this is creating an RDD and I don't wont that.</p>
  <p>Is there a nicer way to do this?</p>