="sd">        :return: A list of `TimeRange` objects representing the equal subranges.</span>
<span class="sd">        :rtype: list of TimeRange</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="k">if</span> <span class="n">n_splits</span> <span class="o">&lt;=</span> <span class="mi">0</span><span class="p">:</span>
            <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="s1">&#39;n must be greater or equal than 1&#39;</spa