title: Using numpy, how do you calculate snowfall per month?
body: <p>I have a data set with snowfall records per day for one year. Date variable is in YYYYMMDD form.</p>
  <pre><code>Date      Snow
  20010101  0
  20010102  10
  20010103  5
  20010104  3
  20010105  0
  ...
  20011231  0
  </code></pre>
  <p>The actual data is here</p>
  <p><a href="https://github.com/emily737373/emily737373/blob/master/COX_SNOW-1.csv" rel="nofollow noreferrer">https://github.com/emily737373/emily737373/blob/master/COX_SNOW-1.csv</a></p>
  <p>I want to calculate the number of days it snowed each month. I know how to do this with pandas, but for a school project, I need to do it only using numpy. I can not import datetime either, it must be done only using numpy.</p>
  <p>The output should be in this form</p>
  <pre><code>    Month     # days snowed
      January   13   
      February  19
      March     20
      ...
      December  15
  </code></pre>
  <p>My question is how do I only count the number of days it snowed (basically when snow variable is not 0) without having to do it separately for each month?</p>