n class="nf">fit</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">dataframe</span><span class="p">,</span> <span class="n">treatment</span><span class="p">,</span> <span class="n">score</span><span class="p">,</span> <span class="n">exacts</span><span class="o">=</span><span class="p">[],</span> <span class="n">alias</span><span class="o">=</span><span class="s2">&quot;matching_index&quot;</span><span class="p">):</span>
<span class="w">        </span><span 