title: Convert list items to defined data type RDD
body: <p>Actually I'm working in workspace of Apache Spark Python in dataricks of cloudera. the idea is to read a csv and format each field. </p>
  
  <p>So, the first step was to read the csv: </p>
  
  <pre><code>uber = sc.textFile("dbfs:/mnt/uber/201601/pec2/uber_curated.csv")
  </code></pre>
  
  <p>The next step was to convert each line to a list of values:</p>
  
  <pre><code>uber_parsed = uber.map(lambda lin:lin.split(","))
  print (uber_parsed.first())
  </code></pre>
  
  <p>The result was:</p>
  
  <pre><code>[u'B02765', u'2015-05-08 19:05:00', u'B02764', u'262', u'Manhattan',u'Yorkville East']
  </code></pre>
  
  <p>But, now I need to convert each item of the next list of values to next format String, Date, String, Integer, String, String.</p>
  
  <pre><code>[[u'B02765', u'2015-05-08 19:05:00', u'B02764', u'262', u'Manhattan', u'Yorkville East'],
  [u'B02767', u'2015-05-08 19:05:00', u'B02789', u'400', u'New York', u'Yorkville East']]
  </code></pre>
  
  <p>Somebody knows how to do it?</p>