问题:AttributeError: ‘numpy.ndarray’ object has no attribute ‘values’ 解决:删掉" .values "。numpy升级到最新版本后就报了这个错了,尝试删除后就可以了。