title: df.loc and value count
body: <p>So I am trying to get the first letter of a column and then get the value counts for that letter</p>
  <pre><code>df5 = pd.DataFrame(df['EmployeeLastName'].astype(str).str[0].value_counts()) 
  </code></pre>
  <p>and then select only the values that are more than 50</p>
  <pre><code>df5.loc[df5['EmployeeLastName'] &gt; 50]
  </code></pre>
  <p>Is there a way I can accomplish this without creating a new data frame?</p>
  <p>I tried this put it is resulting in an error.</p>
  <pre><code>df.loc[ df['EmployeeLastName'].astype(str).str[0].value_counts() &gt; 50 ]
  </code></pre>
  <p>Thanks</p>