'Error: 'numpy.int64' object is not iterable

when running the code the error in the title will appear :

"Mapping Based on rule system"
mappedData=[]
engine = areaofInterest()
engine.reset()
for pred_comb in combinationPred:
engine.reset()
engine.declare(learningCombination(list(pred_comb)))
engine.run()
mappedData.append(engine.value)

``


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source