raphMining.basic.graph.Graph.removeInfrequentLabel">[docs]</a>
    <span class="k">def</span> <span class="nf">removeInfrequentLabel</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">label</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        The function removes vertices with a specific label from the graph and updates the edges accordingly.</span>
<span class="sd">        &quot;&qu