title: Scala , Dataframe column with a list of values, I want to create each value as new column & want to name it
body: <p>I have a dataframe column given below.</p>
  
  <pre><code>House_No = INT
  family_details = ["name" , age , "surname" , weight]
  Ownership = Boolean
  </code></pre>
  
  <p>I want to create new column to the dataframe with name, age, surname &amp; weight.</p>
  
  <pre><code>House_No
  family_details
  Ownership
  name
  age
  surname
  weight
  </code></pre>