><span class="p">[</span><span class="n">S</span> <span class="o">&lt;</span> <span class="o">.</span><span class="mi">9999</span><span class="p">]</span>
  <span class="n">index</span> <span class="o">=</span> <span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">arange</span><span class="p">(</span><span class="n">S</span><span class="o">.</span><span class="n">shape</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span> <span class="o">+</span>