">
<a class="viewcode-back" href="../../../vtools.data.html#vtools.data.sample_series.interval">[docs]</a>
<span class="k">def</span> <span class="nf">interval</span><span class="p">(</span><span class="n">ts</span><span class="p">):</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;Sampling interval of series&quot;&quot;&quot;</span>
    <span class="k">return</span> <span class="n">ts</span><span class="o">.</span><span class="n">index</span><span class="o">.</span><span class="n">frequ