title: Creating a Boxplot with Matplotlib
body: <p>I am using python 3 and jupyter notebook.  I have a pandas dataframe that is structured like this: </p>
  
  <pre><code>          location  price
  Apr 25   ASHEVILLE   15.0
  Apr 25   ASHEVILLE   45.0
  Apr 25   ASHEVILLE   50.0
  Apr 25   ASHEVILLE  120.0
  Apr 25   ASHEVILLE  300.0
  &lt;class 'pandas.core.frame.DataFrame'&gt;
  </code></pre>
  
  <p>I am simply trying to create a boxplot for each location to show the range of prices among items in each location.  </p>
  
  <p>When I ran the following code:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  %matplotlib inline
  
  
  plt.boxplot(postings)
  plt.show()
  </code></pre>
  
  <p>It returned TypeError: unhashable type: 'slice'</p>