ass="sd">    &gt;&gt;&gt; print(&#39;sample size After match: &#39;)</span>
<span class="sd">    &gt;&gt;&gt; match_df.count().show()</span>
<span class="sd">    sample size Before match:</span>
<span class="sd">    10000</span>
<span class="sd">    sample size After match:</span>
<span class="sd">    9652</span>
<span class="sd">    &gt;&gt;&gt; import fast_causal_inference.dataframe.match as Match</span>
<span class="sd">    &gt;&gt;&gt; d1 = Match.smd(df, &#39;treatment&#39;, [&#39;x1&#39;,&#39;x2&#39;])