title: Counting number of rows by class starting with an upper case word
body: <p>I would need to count the rows which starts with an upper case word (e.g. STACKOVERFLOW) by class.<br />
  To find an upper case word I am using the following line of code:</p>
  <pre><code>df['UP'] = df['TEST'].str.findall(r'\b([A-Z]{2,})')
  </code></pre>
  <p>I think I should consider something like this [1] (first word).</p>
  <p>My dataset looks like:</p>
  <pre><code>TEST                       Class
  HELLOOOOO!!!                1    
  What are you doing?         0     # since this is only a capital letter, this should not be counted
  Say nothing!                1     # since this is only a capital letter, this should not be counted
  How are you?                0     # since this is only a capital letter, this should not be counted
  HI man                      1
  </code></pre>