n class="s1">&#39;TimeRange&#39;</span><span class="p">]:</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Split the time range into equal subranges.</span>

<span class="sd">        :param n_splits: The number of subranges to divide the time range into. Must be greater than or equal to 1.</span>
<span class="sd">        :type n_splits: int</span>
<span class="sd">        :raises ValueError: If `n_splits` is less than or equal to 0.</span>
<span class