title: AttributeError: 'function' object has no attribute 'bar' in pandas
body: <p>I have a pandas data frame which is a pandas data frame type as shown below</p>
  
  <pre><code>type(df)
  
  Out[176]:
  
  pandas.core.frame.DataFrame
  </code></pre>
  
  <p>But when I try to use any plotting functions on this data frame like bar graph it gives an error as follows; </p>
  
  <pre><code>df.plot.bar()
  
  AttributeError: 'function' object has no attribute 'bar'
  </code></pre>
  
  <p>Not other function like box plot or hist is also not working. Any idea why?</p>