ss="n">data</span><span class="p">)[</span><span class="mi">1</span><span class="p">],</span>
                  <span class="n">by</span> <span class="o">=</span> <span class="s1">&#39;day&#39;</span><span class="p">)</span>

<span class="c1">#plotting the rainfall time series</span>

<span class="n">plot</span><span class="p">(</span><span class="n">days</span><span class="p">,</span>
          <span class="n">GPMpolyCentroid</span><span class="o">.</span><span class="n">precipitation</span><span class="o"