ss="n">idx</span><span class="p">]</span>
    <span class="n">idx1</span> <span class="o">=</span> <span class="n">idx1</span><span class="p">[:</span><span class="n">size</span><span class="p">]</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="nb">int</span><span class="p">)</span>
    <span class="n">idx2</span> <span class="o">=</span> <span class="n">idx2</span><span class="p">[:</span><span class="n">size</span><span class="p">]</span><span class="o">.</sp