title: Groupby on python without aggegation
body: <p>I am having problem on selecting observations on each unique index.
  I would like to extract data from each group like the following table:
  <a href="https://i.stack.imgur.com/dWfD4.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>The table consists of 12 unique months and they repeat 10 times for 10 years. I would like to group  by their unique months and see the distribution of 12 different months. So the final table would be having 12 columns of 12 months and 10 rows of years.</p>
  <p>I am thinking of starting from groupby function and use for loop to print out different groups.</p>
  <pre><code>data1 = data.groupby(by='month')
  
  
  for name, group in data1:
  print(name)
  print(group)
  </code></pre>