pan>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        takes the self.Database and calculates the support of each item in the dataset and assign the ranks to the items by decreasing support and returns the frequent items list</span>
<span class="sd">        &quot;&quot;&quot;</span>

        <span class="n">mapSupport</span> <span class="o">=</span> <span class="p">{}</span>
        <span class="n">k</span> <span class="o">=</span> <span class="mi">0</span>
 