d">        Time series to analyze</span>

<span class="sd">    method : pearson’, ‘kendall’, ‘spearman’</span>
<span class="sd">        Method compatilble with pandasa</span>

<span class="sd">    Returns</span>
<span class="sd">    -------</span>
<span class="sd">    r : float</span>
<span class="sd">        Correlation coefficient</span>
<span class="sd">    &quot;&quot;&quot;</span>

    <span class="k">return</span> <span class="n">predictions</span><span class="o">.</span><span class="n">corr