><span class="nb">len</span><span class="p">(</span><span class="n">data</span><span class="p">)</span> <span class="o">==</span> <span class="mi">0</span><span class="p">):</span>
        <span class="k">raise</span> <span class="s2">&quot;Node doesn&#39;t Have dataSet&quot;</span>

    <span class="n">encoder</span> <span class="o">=</span> <span class="n">LabelEncoder</span><span class="p">()</span>
    <span class="c1"># En Code some columns</span>
    <span class="k">for</span> <span class="n">s</span>