title: 'dataframe' object has no attribute 'str' problem
body: <p>I am trying to delete rows that contain certain strings. However, I am getting the error:</p>
  
  <blockquote>
    <p>pandas - 'dataframe' object has no attribute 'str' error.</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>df = df[~df['colB'].str.contains('Example:')] 
  </code></pre>
  
  <p>How can I fix this?</p>