">            import PAMI.periodicFrequentPattern.kPFPMiner as alg</span>

<span class="sd">            obj = alg.kPFPMiner(iFile, k)</span>

<span class="sd">            obj.mine()</span>

<span class="sd">            periodicFrequentPatterns = obj.getPatterns()</span>

<span class="sd">            print(&quot;Total number of top-k Periodic Frequent Patterns:&quot;, len(periodicFrequentPatterns))</span>

<span class="sd">            obj.save(oFile)</span>

<span class="sd">            Df = obj.getPatternIn