title: creating a new dataframe from value.counts()
body: <p>I have a dataframe <code>df_1</code> with a column <code>year</code> which denotes when the year a crime occurred. So for example, df_1 is something like this:</p>
  
  <pre><code>   location    description   Weapon   Year
  0  Howard Ave   Auto theft   Knife    2017
  1  Craig Drive  Burglary     Gun      2014
  2  King Ave     Assault      Hands    2017
  </code></pre>
  
  <p>I need to create a dataframe that has the number of crime occurrences by year from 2012-2017.</p>
  
  <pre><code>crime_year = pd.DataFrame(df_1.year.value_counts(), columns=["Year", "AggregateCrime"])
  crime_yearindex = crime_year.sort_index(axis = 0, ascending=True)
  crime_yearindex
  </code></pre>
  
  <p>When I print <code>crime_yearindex</code>, I just get the column headers and not the data itself. What may I be doing wrong? </p>