pycharm生成csv文件报错TypeError:‘int’ object is not interable

img


改了好多遍,从网上找了说是int类型的对象不能用来循环,但是加了range以后报错,不清楚是不是加错地方了,求大家指点一下

看看你调用的函数返回的是什么类型的值哈,把源码贴出来

128行,return_128d_features()函数返回的是个int类型,将一个整数传递给list函数就报这个错了

有帮助的话,请点采纳该答案~