python进行机器学习数据集划分时,使用鸢尾花数据集的函数iris.data时出现如下报错,求解决。
AttributeError: 'function' object has no attribute 'data'
从错误提示上看,是不是iris在什么地方被覆盖掉了?