title: How to subset pandas dataframe by unique values in a column
body: <p>Want to find an easier way to subset dataframe and creating those as new dataframes</p>
  
  <pre><code>A011 = DF[DF['id']=="A011"]
  A012 = DF[DF['id']=="A012"]
  A013 = DF[DF['id']=="A013"]
  A014 = DF[DF['id']=="A014"]
  </code></pre>
  
  <p>This works but inefficient. I actually have 162 unique values.</p>
  
  <pre><code>DF = pd.DataFrame({'id': ["A011", "A012", "A012", "A012","A011", "A012", "A012", "A012"],\
  'value': [1, 2, 3, 4, 1, 2, 3, 4]})
  A011 = DF[DF['id']=="A011"]
  A012 = DF[DF['id']=="A012"]
  A013 = DF[DF['id']=="A013"]
  A014 = DF[DF['id']=="A014"]
  </code></pre>
  
  <p>Desired output</p>
  
  <pre><code>    id  value
  0   A011    1
  4   A011    1
  
      id  value
  1   A012    2
  5   A012    2
  </code></pre>