span> <span class="nn">scipy.stats</span> <span class="kn">import</span> <span class="n">spearmanr</span>
    <span class="n">tau</span> <span class="o">=</span> <span class="mi">0</span>
    <span class="n">tau_a</span> <span class="o">=</span> <span class="p">[]</span>
    <span class="n">R</span> <span class="o">=</span> <span class="mi">1</span>
    <span class="n">R_a</span> <span class="o">=</span> <span class="p">[]</span>
    <span class="k">while</span> <span class="n">R</span> <span class="o">&gt;