title: How to make seaborn barplot with sum of values in y-axis
body: <p>I want to make a seaborn barplot that takes year column as x-axes and sum of AveragePrice in each year as y-axes. So far i thought of groupby year but it does not seemed to be working. What should i do? </p>
  
  <pre><code>plt.figure()
  ax = sns.barplot(avo_sales.year, avo_sales.groupby(['year'])['AveragePrice'].sum())
  </code></pre>