title: Exact match resulting in error: 'str' object has no attribute 'str'
body: <p>I have a dataframe with multiple columns, and one of them is named 'Message'. I am assigning a simple string to it 'test' on index 0</p>
  <pre class="lang-py prettyprint-override"><code>df['Message'][0] = &quot;test&quot;
  </code></pre>
  <p>Now I need to check it in IF statement and if there is a match, I want print the content index 0 of 'Time' column. Following is my code snippet:</p>
  <pre class="lang-py prettyprint-override"><code>if (df['Message'][0]).str.contains('test'):
      print(df['Time'][0])
  </code></pre>
  <p>For some reason I keep getting following error:
  AttributeError: 'str' object has no attribute 'str'</p>
  <p>I have checked that <code>type(df['Message'][0])</code> is returning as <code>'str'</code></p>
  <p>Also the complete df shows up as following:</p>
  <pre class="lang-none prettyprint-override"><code>1
  df.dtypes
  Out[190]:
  Date       object
  Time       object
  Col2       object
  Col3       object
  Message    object
  dtype: object
  </code></pre>
  <p>Appreciate any help on what I am doing wrong here.</p>