title: Apriori Algorithm shows lots of result even for small amount of data
body: <p>I am trying out apriori algorithm which takes more than the expected time, this is the code.</p>
  <pre><code>import pandas as pd
  dataset = pd.read_csv(&quot;data.csv&quot;, header=None)
  transactions = []
  
  for i in range(0, 10):
      temp = []
      for j in range(0, 20):
          temp.append(str(dataset.values[i,j]))
      transactions.append(temp)
    
  from apyori import apriori
  associations = apriori(transactions, min_support=0.03, min_confidence=0.7, min_lift=3, min_length=2)
  
  result = list(associations)
  </code></pre>
  <p>it's working fine upto the point of creating apriori object. But when I tried to run the last line (conversion to list) it's taking huge amount of time.</p>
  <p>As you can see above I have only inputted 10 transactions, but it has output more than a million rules, so I couldn't find the error in the code. pls help me to find the issue.</p>
  <p>The below image shows my variable values in anaconda spyder ide.
  <a href="https://i.stack.imgur.com/u1dKd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u1dKd.jpg" alt="enter image description here" /></a></p>
  <p>Thank you.....</p>