title: how to improve .collect() in pyspark?
body: <p>Is there any other way to tune pyspark so that .collect()'s performance can be improved?</p>
  
  <p>I'm using <code>map(lambda row: row.asDict(), x.collect())</code> which is taking more that 5seconds for 10K records.</p>