e Series for locations in [i, j) irrespective of
the value of the keys at those locations.</p><pre>s.slice(<span class="num">2</span>,<span class="num">4</span>) == Series(<span class="lit">'b'</span>-&gt;<span class="num">3</span>, <span class="lit">'c'</span>-&gt;<span class="num">4</span>)</pre><p>To slice explicitly by labels, use the <code>sliceBy</code> method, which is inclusive of the
key boundaries:</p><pre>s.sliceBy(<span class="lit">'b'</span>,<span class="lit">'c'</span>) == Series(<span class="