docstr: Inserts a list of items into the tree.
  
  Parameters
  ----------
  itemset : list
      Items that will be inserted into the tree.
  count : int
      The number of occurrences of the itemset.
docstr_tok: ["Inserts","a","list","of","items","into","the","tree",".","Parameters","--","--","--","--","--","itemset",":","list","Items","that","will","be","inserted","into","the","tree",".","count",":","int","The","number","of","occurrences","of","the","itemset","."]
code: def insert_itemset(self, itemset, count=1):
      """
      Inserts a list of items into the tree.
  
      Parameters
      ----------
      itemset : list
          Items that will be inserted into the tree.
      count : int
          The number of occurrences of the itemset.
      """
      if len(itemset) == 0:
          return
  
      # Follow existing path in tree as long as possible
      index = 0
      node = self.root
      for item in itemset:
          if item in node.children:
              child = node.children[item]
              node = child
              index += 1
          else:
              break
  
      # Insert any remaining items
      for item in itemset[index:]:
          child_node = self.Node(item, count, node)
          self.nodes[item].append(child_node)
          node = child_node
  
file_path: mlxtend/mlxtend/frequent_patterns/fpmax.py
imports: import collections
  import math
  from ..frequent_patterns import fpcommon
label_desc: Use image node_id 2 for calling the MFITree obj's underlying member method code with example usage: obj.insert_itemset(itemset, count) without return types