title: converting par array to array in scala
body: <p>How can we convert <code>ParArray[(Double, Double, Double, Double, Double)]</code> to <code>Array[(Double, Double, Double, Double, Double)]</code> </p>
  
  <p>I have to do this as part of creating the data frame using <code>sc.parallelize(Array[(Double,...)])</code></p>
  
  <p>Apart from hardcoding (like below) is there any other way?
  <code>for(x1 &lt;- 0 until a.length){
            new_a(x1)(0) = a(x1)._1
            new_a(x1)(1) = a(x1)._2
            new_a(x1)(2) = a(x1)._3
            new_a(x1)(3) = a(x1)._4
            new_a(x1)(4) = a(x1)._5
        }</code></p>