">()</span>
  <span class="n">mean</span> <span class="o">=</span> <span class="n">df</span><span class="o">.</span><span class="n">mean</span><span class="p">()</span><span class="o">.</span><span class="n">mean</span><span class="p">()</span>
  <span class="n">logscale</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span>
  <span class="k">if</span> <span class="n">maximum</span> <span class="o">-</span> <span class="n">mean</span> <span class="o">&gt;</span> <span class="mi">10</span> <spa