title: Show partitions on a pyspark RDD
body: <p>The pyspark RDD documentation </p>
  
  <blockquote>
    <p><a href="http://spark.apache.org/docs/1.2.1/api/python/pyspark.html#pyspark.RDD" rel="noreferrer">http://spark.apache.org/docs/1.2.1/api/python/pyspark.html#pyspark.RDD</a></p>
  </blockquote>
  
  <p>does not show any method(s) to display partition information for an RDD.</p>
  
  <p>Is there any way to get that information without executing an additional step e.g.:</p>
  
  <pre><code>myrdd.mapPartitions(lambda x: iter[1]).sum()
  </code></pre>
  
  <p>The above does work .. but seems like extra effort.</p>