title: Dataframe to List of List conversion based on the name of column in Python
body: <p>Input:
  <br>Dataframe</p>
  
  <pre><code>col1    col2
  item1   10
  item1   20
  item1   25
  item2   56
  item2   36
  item3   1
  </code></pre>
  
  <p>Output:
  <br>List of List</p>
  
  <pre><code>[[10,20,25],[56,36],[1]]
  </code></pre>