title: Making histogram of object attribute of a DataFrame
body: <p>I am making histogram from a dataset but observed that <code>hist()</code> works only for numerical data values. While I have some object type attributes in my dataframe, for example: Name, gender (possible values: male, female) etc.</p>
  
  <p>I want to plot histogram for gender attribute of my dataset. How is that possible with <code>.hist()</code> or any other mechanism?</p>
  
  <pre><code>import matplotlib.pyplot as plt
  from matplotlib.ticker import StrMethodFormatter
  
  mydataFrame.hist(column = "Gender") 
  </code></pre>
  
  <p>"Gender" is an object type attribute.</p>