title: Python: How to get Dataframes with get_groups in for loops
body: <p>I have grouped a DataFrame using <code>data.groupby('column)</code> and now I want to create a dataframe from each group:</p>
  
  <pre><code>for i in data_group.indices:
      i = data_group.get_group(i)
  </code></pre>
  
  <p>I can print the dataframes out within the for-loop, but I can't access them otherwise... Somehow the naming of the <code>DataFrame</code> with a variable is not working. Does anyone have a solution?</p>