code: def __init__(self, item, count=0, parent=None):
      self.item = item
      self.count = count
      self.parent = parent
      self.children = collections.defaultdict(FPNode)
  
      if parent is not None:
          parent.children[item] = self
  
file_path: mlxtend/mlxtend/frequent_patterns/fpcommon.py
imports: import collections
  import warnings
  import numpy
  import pandas
  from pandas import __version__
label_desc: Use image node_id 1 to create a new FPNode object from inherited base classes: object with example: obj = FPNode(item, count, parent)