title: Apache Spark: Difference between parallelize and broadcast
body: <p>In Spark (python):</p>
  
  <p>If <code>sc</code> is a Spark context (<code>pyspark.SparkContext</code>), what is the difference between:</p>
  
  <p><code>r = sc.parallelize([1,2,3,4,5])</code></p>
  
  <p>and </p>
  
  <p><code>r = sc.broadcast([1,2,3,4,5])</code>
  ?</p>