成功解决AttributeError: 'DataFrame' object has no attribute 'reshape'
2019-03-18 17:11
16516 查看
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_41185868/article/details/88643276
解决问题
AttributeError: 'DataFrame' object has no attribute 'reshape'
解决思路
属性错误:“DataFrame”对象没有属性“reshape”
解决方法
“DataFrame”对象没有,但是DataFrame.values有该方法!
DataFrame.values.reshape(-1, 1)
哈哈,大功告成!
相关文章推荐
- AttributeError: 'module' object has no attribute 'SSL_ST_INIT' 解决办法
- AttributeError: 'module' object has no attribute 'showinfo'(已解决)
- AttributeError: 'WebDriver' object has no attribute 'switchTo' 解决方法
- AttributeError: 'module' object has no attribute 的解决方法
- 解决问题 AttributeError: 'module' object has no attribute 'face_recognition_model_v1'
- 成功解决AttributeError: module 'string' has no attribute 'find'
- AttributeError: 'module' object has no attribute 'Spider' 解决了
- AttributeError: 'module' object has no attribute '_base' 可行解决办法
- Scrapy AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1 解决方法
- python AttributeError: 'module' object has no attribute 'dumps'解决办法
- AttributeError: 'module' object has no attribute 的解决方法
- AttributeError: 'module' object has no attribute 'face' 问题解决 opencv+python
- AttributeError: 'NoneType' object has no attribute 'sc' 解决方法(二)
- Keras深度学习框架学习笔记(3) - AttributeError:’module’ object has no attribute ‘ifelse’错误信息的解决方法
- AttributeError: 'NoneType' object has no attribute 'copy' 解决办法
- AttributeError: 'module' object has no attribute '_base' 可行解决办法
- AttributeError: 'module' object has no attribute 'Frame' 解决方法
- Python2.7 安装mock出现AttributeError: 'module' object has no attribute的解决方法
- 解决方法——AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'
- [置顶] AttributeError: 'module' object has no attribute '_base' 可行解决办法