title: Vectorized DataFrame Python-pandas?
body: <p>I'm trying to figure out how to print a row given a known entry in a column within my data frame much like <a href="https://stackoverflow.com/questions/11350770/pandas-dataframe-select-by-partial-string">this</a> question. However, this wasn't working for my DataFrame.</p>
  
  <pre><code>In [10]: df
  Out[10:
     A   B   C   D
  0  a   b   c   d
  1  t   f   h   e
  2  j   r   y   k
  
  In [11]: df[df['A'].str.contains('t')]
  
  ---------------------------------------------------------------------------
  AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-11-618e00d5bb36&gt; in &lt;module&gt;()
  ----&gt; 1 df[df['A'].str.contains('t')]
  
  AttributeError: 'Series' object has no attribute 'str'
  </code></pre>
  
  <p><em>Just to try and clarify my goal, say I know 't' is in my DataFrame somewhere and I also know it resides within column A, is there a search option that will print out the entire row it is located within?</em></p>
  
  <p>Why am I getting this error?</p>