title: Python Pandas : Group by one column and see the content of all columns?
body: <p>I have a dataframe like this:</p>
  
  <pre><code>org     group   count
  org1      1       2
  org2      1       2
  org3      2       1
  org4      3       3
  org5      3       3
  org6      3       3
  </code></pre>
  
  <p>and this is what I would like to have , one entry from each unique groups from the 'group' column:</p>
  
  <pre><code>org     group   count
  org1      1       2
  org3      2       1
  org4      3       3
  </code></pre>
  
  <p>I am using the following group by command but I still get to see all of the rows:</p>
  
  <pre><code>df.groupby('group').head()
  </code></pre>
  
  <p>Does any body know how to get the expected results?</p>