title: Can I create a list from groupby with only items that have equal value?
body: <pre><code>df.groupby(['foo'])[['bar']].count()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/vhI7y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vhI7y.png" alt="enter image description here"></a></p>
  
  <p>This is what I get from applying this groupby.
  What I want to be able to do is to only keep item 3 and 4 as they are the only ones that have an equal amount of 'bar'. Is there a way I can store the string 'Item3' and 'Item4' into a list? I apologize for the terrible format, I am new to this.</p>