n class="o">*</span> <span class="n">mean</span> <span class="ow">or</span> <span class="n">mean</span> <span class="o">-</span> <span class="n">minimum</span> <span class="o">&gt;</span> <span class="mi">10</span> <span class="o">*</span> <span class="n">minimum</span><span class="p">:</span>
    <span class="n">logscale</span> <span class="o">=</span> <span class="s2">&quot;logscale&quot;</span>
    <span class="n">df</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span c