enaeseth / python-fp-growth

An implementation of the FP-growth algorithm in pure Python.
366 stars 194 forks source link

AttributeError: 'NoneType' object has no attribute 'remove' #1

Closed yiduo closed 14 years ago

yiduo commented 14 years ago

AttributeError: 'NoneType' object has no attribute 'remove'

fp_growth.py, line 232 , add "if node.parent is not None:"

enaeseth commented 14 years ago

Made your suggested change; thank you.