I\'m new with python, and I have the following fp_growth algorithm: the important part is the transaction object
def find_frequent_itemsets(t