span>
</span><span id="sample_prices-29"><a href="#sample_prices-29"><span class="linenos">29</span></a>    <span class="k">if</span> <span class="n">is_object_dtype</span><span class="p">(</span><span class="n">prices</span><span class="o">.</span><span class="n">index</span><span class="p">):</span>
</span><span id="sample_prices-30"><a href="#sample_prices-30"><span class="linenos">30</span></a>        <span class="n">prices</span><span class="o">.</span><span class="n">index</span> <span class="o">=</sp