title: Conditional Select on a dataframe column
body: <p>Hi I am wondering how conditional select on a pandas column works. In the Below code</p>
  
  <pre><code>In [162]: euro16
  Out[162]: {'Goals': [16, 8], 'Team': ['Germany', 'England']}
  
  In [163]: euro16_df = pd.DataFrame(euro16)
  
  In [164]: euro16_df[euro16_df.Team == 'Germany']
  Out[164]:
     Goals     Team
  0     16  Germany
  </code></pre>
  
  <p>However when you try a conditional on the team that involved string access ie: Say all teams starting with 'G'. I get a KeyError.I would greatly appreciate any information on what might be happening here.</p>
  
  <pre><code>euro16_df[euro16_df.Team[0] == 'G']
  </code></pre>