n class="k">if</span> <span class="n">dataframe</span><span class="o">.</span><span class="n">analysis_mode</span> <span class="o">!=</span> <span class="s1">&#39;single&#39;</span><span class="p">:</span>
            <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="s2">&quot;Only single time series data allowed for RPCMCI.&quot;</span><span class="p">)</span>
   
        <span class="k">if</span> <span class="n">dataframe</span><span class="o">.</span><spa