title: Contains function in pandas dataframe column (AttributeError: 'str' object has no attribute 'str'
body: <p>I'm trying to search in string in dataframe column by using contains</p>
  
  <p>1.</p>
  
  <pre><code>for idx, row in df.iterrows():
    if(row['name'].str.contains('abc')):
  </code></pre>
  
  <p>the above code throw this error</p>
  
  <pre><code>AttributeError: 'str' object has no attribute 'str'
  </code></pre>
  
  <p>2. </p>
  
  <pre><code>for idx, row in df.iterrows():
        if(row['name'].contains('abc')):
  </code></pre>
  
  <p>and the second code throw this error</p>
  
  <pre><code>AttributeError: 'str' object has no attribute 'contains'
  </code></pre>