nverts an index <code>i</code> used on the result (here, <code>c[idxs1, idxs2]</code>) to index <code>idxs1[i]</code> in the variable being indexed (here, <code>c</code>). In contrast, a single index just returns the value at that index, thus reducing dimensionality by one in the result.</p>
</section>
<section id="slicing-with-range-indexes" class="level2">
<h2 class="anchored" data-anchor-id="slicing-with-range-indexes">Slicing with range indexes</h2>
<p>Slicing returns a contiguous slice of a one-dimensi