AttributeError: 'DataFrame' object has no attribute 'reshape' python处理数据时报错解决方法 python处理数据时报错 AttributeError: ‘DataFrame’ object has no attribute ‘reshape’ 解决方法 将DataFrame.reshape()修改为DataFrame.values.reshape()