<span class="n">values</span><span class="p">})</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">res</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">][</span><span class="s1">&#39;values&#39;</span><span class="p">]</span> <span class="o">+=</span> <span class="n">values</span>

    <span class="k">return</span> <span class="n">res</span>


<div class="viewcode-block" id="series_to_distribution">
<a class="viewcode-