title: Extracting just a string element from a pandas dataframe
body: <p>Okay, so say I have a pandas dataframe x, and I'm interested in extracting a value from it:</p>
  
  <pre><code>&gt; x.loc[bar==foo]['variable_im_interested_in']
  </code></pre>
  
  <p>Let's say that returns the following, of type pandas.core.series.Series:</p>
  
  <pre><code>24    Boss
  Name: ep_wb_ph_brand, dtype: object
  </code></pre>
  
  <p>But all I want is the string 'Boss'. Wrapping the first line of code in <code>str()</code> doesn't help either, I just get:</p>
  
  <pre><code>'24    Boss\nName: ep_wb_ph_brand, dtype: object'
  </code></pre>
  
  <p>How do I just extract the string?</p>