title: how to get map from array of data in scala
body: <p>i am a newbie in scala, here i have an array variable call colarr</p>
  
  <pre><code>colarr: Array[(String, String)] = Array((empid,IntegerType), (empname,StringType), (address,StringType), (salary,IntegerType), (doj,TimestampType))
  </code></pre>
  
  <p>how to get individual value like empid and IntergerType from it?</p>